mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 05:58:41 -09:00
Make preference-opening command universal (#267)
The `$EDITOR ~/.hyperterm.js && exit` requires that the default shell recognize variables as commands and to recognize the `&&` syntax, so it does not work with fish shell. The new command works with all common shells, including fish.
This commit is contained in:
parent
b6e5bf63c7
commit
610d6c6d3e
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ export function showPreferences () {
|
||||||
uid,
|
uid,
|
||||||
['# Attempting to open ~/.hyperterm.js with your $EDITOR',
|
['# Attempting to open ~/.hyperterm.js with your $EDITOR',
|
||||||
'# If this doesn\'t work, open it manually with your favorite editor!',
|
'# If this doesn\'t work, open it manually with your favorite editor!',
|
||||||
'$EDITOR ~/.hyperterm.js && exit',
|
'exec env $EDITOR ~/.hyperterm.js',
|
||||||
''
|
''
|
||||||
].join('\n')
|
].join('\n')
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue