Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
startingDirectory
functionality (#604)
* Improve `startingDirectory` functionality This commit adds the `startingDirectory` property to the default-created `cmd` and `powershell` profiles, with the default value `%HOMEDRIVE%%HOMEPATH%`. Signed-off-by: Fred Miller <fghzxm@outlook.com> * Use %USERPROFILE% to replace %HOMEDRIVE%%HOMEPATH% This commit changes `%USERPROFILE%` in the default profiles to `%HOMEDRIVE%%HOMEPATH%`. https://stackoverflow.com/posts/36392591/revisions says `%USERPROFILE%` is better than `%HOMEDRIVE%%HOMEPATH%`, so changed it. Signed-off-by: Fred Miller <fghzxm@outlook.com> * Improve `startingDirectory` functionality This commit adds the `startingDirectory` property to the default-created `cmd` and `powershell` profiles, with the default value `%HOMEDRIVE%%HOMEPATH%`. Signed-off-by: Fred Miller <fghzxm@outlook.com> * Use %USERPROFILE% to replace %HOMEDRIVE%%HOMEPATH% This commit changes `%USERPROFILE%` in the default profiles to `%HOMEDRIVE%%HOMEPATH%`. https://stackoverflow.com/posts/36392591/revisions says `%USERPROFILE%` is better than `%HOMEDRIVE%%HOMEPATH%`, so changed it. Signed-off-by: Fred Miller <fghzxm@outlook.com> * Consolidate constant Refer to the externally defined constant in code. Signed-off-by: Fred Miller <fghzxm@outlook.com>
- Loading branch information