Skip to content

Commit

Permalink
fix: linux/mac exec
Browse files Browse the repository at this point in the history
  • Loading branch information
daretodave committed Apr 27, 2024
1 parent 377988e commit 12c34e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const DEFAULT_WORKSPACE = '~/mterm'
export const DEFAULT_PLATFORM =
process.platform === 'win32'
? `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -noprofile -command $ARGS`
: 'sh $ARGS'
: 'sh -c $ARGS'
export const DEFAULT_FOLDER = '$CWD'
export const DEFAULT_SETTING_RUNNER_SHORTCUT = '`+CommandOrControl'
export const DEFAULT_SETTING_COMMANDER_MODE_TOGGLE_SHORTCUT = '`+Shift+CommandOrControl'
Expand Down

0 comments on commit 12c34e1

Please sign in to comment.