Use single quotes for better compatibility (#575)

This commit is contained in:
Albin Ekblom 2016-08-06 10:44:23 +02:00 committed by James Hall
parent f954a1e7bc
commit cc112b6683

View file

@ -157,7 +157,7 @@ export function showPreferences () {
// Leading space prevents command to be store in shell history // 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 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!', ' 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') ].join('\n')
)); ));