fix bash and powershell init scripts

This commit is contained in:
Dax T. Games
2018-04-03 13:20:49 -04:00
parent bcf8527f74
commit 65bf25f1d0
3 changed files with 34 additions and 33 deletions

2
vendor/profile.ps1 vendored
View File

@ -140,7 +140,7 @@ popd
# Drop *.ps1 files into "$ENV:CMDER_USER_CONFIG\config\profile.d"
# to source them at startup. Requires using cmder.exe /C [cmder_user_root_path] argument
if ($ENV:CMDER_USER_CONFIG -ne "" -and -not (test-path "$ENV:CMDER_USER_CONFIG\profile.d")) {
if ($ENV:CMDER_USER_CONFIG -ne "" -and (test-path "$ENV:CMDER_USER_CONFIG\profile.d")) {
pushd $ENV:CMDER_USER_CONFIG\profile.d
foreach ($x in Get-ChildItem *.ps1) {
# write-host write-host Sourcing $x