mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -09:00
Merge pull request #488 from chabou/prevent_shell_history_pollution
Add comment for PR #478
This commit is contained in:
commit
8ec4e7ae74
1 changed files with 1 additions and 0 deletions
|
|
@ -147,6 +147,7 @@ export function showPreferences () {
|
||||||
rpc.once('session data', () => {
|
rpc.once('session data', () => {
|
||||||
dispatch(sendSessionData(
|
dispatch(sendSessionData(
|
||||||
uid,
|
uid,
|
||||||
|
// 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 ~/.hyperterm.js"',
|
' bash -c "exec env $EDITOR ~/.hyperterm.js"',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue