mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-14 20:58: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) {
|
function getEditCommand(shell, isWin) {
|
||||||
if (isWin && shell.includes('bash')) {
|
if (isWin && shell.includes('bash')) {
|
||||||
return [
|
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) {
|
} else if (isWin) {
|
||||||
return [
|
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 [
|
return [
|
||||||
|
' echo Attempting to open ~/.hyper.js with your \\$EDITOR',
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
// eslint-disable-next-line no-template-curly-in-string
|
||||||
' bash -c \'exec env ${EDITOR:=nano} ~/.hyper.js\'',
|
' bash -c \'exec env ${EDITOR:=nano} ~/.hyper.js\''
|
||||||
'echo Attempting to open ~/.hyper.js with your \\$EDITOR'
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue