hyperpower
hyperpower copied to clipboard
fish: typing wow does not turn on wow mode
With fish shell, typing wow
does not turn on wow mode.
$ fish --version
fish, version 2.7.1
$ bash --version
GNU bash, version 4.4.19(1)-release (x86_64-apple-darwin16.7.0)
Same for
$ zsh --version
zsh 5.5.1 (x86_64-apple-darwin17.5.0)
Me too! I'm on Ubuntu 18.10.
$ bash --version
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
Same thing.
fish 3.0.2 hyper 3.0.2
I had the same issue. I turned on wow mode in fish by doing the following:
$ bash
$ wow
$ exit
The wow effect remains even after you exit bash. You can repeat the above steps to turn it off. It's a bit clunky, but it works 😅
Try to add
"Command 'wow' not found, did you mean:*",
to
function detectWowCommand(data) {
const patterns = [
'wow: command not found',
'command not found: wow',
"Unknown command 'wow'",
"'wow' is not recognized*",
"'wow'은\\(는\\) 내부 또는 외부 명령.*",
"Command 'wow' not found, did you mean:*",
];
return new RegExp('(' + patterns.join(')|(') + ')').test(data);
}
In your Hyper\.hyper_plugins\node_modules\hyperpower\index.js