diff --git a/lib/actions/ui.js b/lib/actions/ui.js index 89abfd75..3c1ba9f5 100644 --- a/lib/actions/ui.js +++ b/lib/actions/ui.js @@ -157,7 +157,7 @@ export function showPreferences () { // Leading space prevents command to be store in shell history [' echo Attempting to open ~/.hyperterm.js with your \$EDITOR', // eslint-disable-line no-useless-escape ' echo If it fails, open it manually with your favorite editor!', - ' bash -c "exec env ${EDITOR:=' + editorFallback + '} ~/.hyperterm.js"', + ' bash -c \'exec env ${EDITOR:=' + editorFallback + '} ~/.hyperterm.js\'', '' ].join('\n') ));