Preventing shell history pollution (#478)

This commit is contained in:
chabou 2016-07-28 19:44:50 +02:00 committed by Guillermo Rauch
parent 8874feff76
commit b3dec55f29

View file

@ -147,9 +147,9 @@ export function showPreferences () {
rpc.once('session data', () => {
dispatch(sendSessionData(
uid,
['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 ~/.hyperterm.js"',
[' 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 ~/.hyperterm.js"',
''
].join('\n')
));