This commit is contained in:
Dax T. Games
2023-07-03 16:36:57 -04:00
16 changed files with 270 additions and 2286 deletions

View File

@ -11,7 +11,7 @@ if ($shell -match 'powershell') {
} elseif ($shell -match 'bash') {
write-host "'$shell' is not supported at this time!"
exit 0
} else {
} elseif ($shell -notMatch 'cmd') {
exit 0
}
@ -23,4 +23,8 @@ $CmderFunctions = Join-Path $CmderModulePath "Cmder.ps1"
if ($shell -match 'cmd') {
write-host "Generating Cmder Config for '$shell' shell in '$outfile'..."
templateExpand "$env:cmder_root\vendor\user_init.cmd.template" "$outfile"
} elseif ($shell -match 'powershell') {
write-host "'$shell' is not supported at this time!"
} elseif ($shell -match 'bash') {
write-host "'$shell' is not supported at this time!"
}