hyperpower icon indicating copy to clipboard operation
hyperpower copied to clipboard

fish: typing wow does not turn on wow mode

Open ericfrancis opened this issue 6 years ago • 5 comments

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)

ericfrancis avatar Apr 12 '18 14:04 ericfrancis

Same for

$ zsh --version
zsh 5.5.1 (x86_64-apple-darwin17.5.0)

aloifolia avatar Sep 21 '18 07:09 aloifolia

Me too! I'm on Ubuntu 18.10.

$ bash --version
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)

ezgif-2-f79bea599362

EugenNekrasov avatar Dec 08 '18 16:12 EugenNekrasov

Same thing.

fish 3.0.2 hyper 3.0.2

talentlessguy avatar Aug 29 '19 13:08 talentlessguy

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 😅

khaaliisa avatar Jan 08 '20 23:01 khaaliisa

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

weeebdev avatar Sep 17 '20 17:09 weeebdev