From 751f092300e7e14275da126571e77c2e14977180 Mon Sep 17 00:00:00 2001 From: FriendlyNeighborhoodShane <39659394+FriendlyNeighborhoodShane@users.noreply.github.com> Date: Thu, 20 May 2021 21:20:13 +0530 Subject: [PATCH] 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. --- bucket/cmder-full.json | 3 ++- bucket/cmder.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bucket/cmder-full.json b/bucket/cmder-full.json index 7f9ce43684..e93026b9a8 100644 --- a/bucket/cmder-full.json +++ b/bucket/cmder-full.json @@ -14,7 +14,8 @@ "shortcuts": [ [ "Cmder.exe", - "Cmder" + "Cmder", + "/start %USERPROFILE%" ] ], "persist": [ diff --git a/bucket/cmder.json b/bucket/cmder.json index 01761124f3..533f658189 100644 --- a/bucket/cmder.json +++ b/bucket/cmder.json @@ -14,7 +14,8 @@ "shortcuts": [ [ "Cmder.exe", - "Cmder" + "Cmder", + "/start %USERPROFILE%" ] ], "persist": [