mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
fix echo issue in config pref (#1633)
* fix echo issue in config pref * fix spacing inconsitency
This commit is contained in:
parent
d1997e1da3
commit
3793adabb5
1 changed files with 6 additions and 6 deletions
|
|
@ -213,19 +213,19 @@ export function moveTo(i) {
|
|||
function getEditCommand(shell, isWin) {
|
||||
if (isWin && shell.includes('bash')) {
|
||||
return [
|
||||
' nano .hyper.js',
|
||||
'echo Attempting to open .hyper.js with nano'
|
||||
' echo Attempting to open .hyper.js with nano',
|
||||
' nano .hyper.js'
|
||||
];
|
||||
} else if (isWin) {
|
||||
return [
|
||||
' start notepad "%userprofile%\\.hyper.js"',
|
||||
'echo Attempting to open .hyper.js with notepad'
|
||||
' echo Attempting to open .hyper.js with notepad',
|
||||
' start notepad "%userprofile%\\.hyper.js"'
|
||||
];
|
||||
}
|
||||
return [
|
||||
' echo Attempting to open ~/.hyper.js with your \\$EDITOR',
|
||||
// eslint-disable-next-line no-template-curly-in-string
|
||||
' bash -c \'exec env ${EDITOR:=nano} ~/.hyper.js\'',
|
||||
'echo Attempting to open ~/.hyper.js with your \\$EDITOR'
|
||||
' bash -c \'exec env ${EDITOR:=nano} ~/.hyper.js\''
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue