cmder: shortcut to start in home dir (%USERPROFILE%) (#2185)

When launched from the start menu shortcut, cmder starts in
%SCOOP%\apps\cmder\current, which is not ideal behaviour for a
terminal program. This patch makes the shortcut always start
in the home directory with the argument '/start'.

When started from the shim or directly, cmder starts in your
current directory anyway, which is expected behaviour.
This commit is contained in:
FriendlyNeighborhoodShane 2021-05-20 21:20:13 +05:30 committed by GitHub
parent fdd5988262
commit 751f092300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,8 @@
"shortcuts": [
[
"Cmder.exe",
"Cmder"
"Cmder",
"/start %USERPROFILE%"
]
],
"persist": [

View File

@ -14,7 +14,8 @@
"shortcuts": [
[
"Cmder.exe",
"Cmder"
"Cmder",
"/start %USERPROFILE%"
]
],
"persist": [