use /dir Switch instead of CMDER_START

This commit is contained in:
David Driscoll
2016-04-13 14:16:58 -04:00
committed by Benjamin Staneck
parent 145a1b144b
commit badb027c24
4 changed files with 29 additions and 52 deletions

7
vendor/profile.ps1 vendored
View File

@ -80,13 +80,6 @@ function checkGit($Path) {
}
}
# Move to the wanted location
# This is either a env variable set by the user or the result of
# cmder.exe setting this variable due to a commandline argument or a "cmder here"
if ( $ENV:CMDER_START ) {
Set-Location -Path "$ENV:CMDER_START"
}
if (Get-Module PSReadline -ErrorAction "SilentlyContinue") {
Set-PSReadlineOption -ExtraPromptLineCount 1
}