OS X 10.8.3
fish 2.0.0
From time to time fish doesn't return command back to shell after exiting an application.
Repro steps:
Expected behavior:
Actual behavior
Sample from activity monitor:
https://gist.github.com/yqiang/5834550
FWIW after waiting a while and hitting ctrl+d it returned me back to the shell. Hitting ctrl+d again gave the following error:
Shutting down.
~> 14:46
~> 14:46
~> fish: Unknown command 'delete-or-exit' 14:46
fish: Unknown command '_'
/usr/local/Cellar/fish/2.0.0/share/fish/functions/type.fish (line 3): _ "%s: Could not find '%s'\n"
^
in command substitution
called on line 140 of file '/usr/local/Cellar/fish/2.0.0/share/fish/functions/type.fish',
in function 'type',
called on standard input,
with parameter list '-p command-not-found'
in function 'fish_command_not_found_setup',
called on standard input,
with parameter list 'delete-or-exit'
in event handler: handler for generic event 'fish_command_not_found'
It looks like this is caused by the oh-my-fish bundle. I'm not able to repro after removing it.
I had the same as @yqiang Fixed it with:
$ omf update
Most helpful comment
I had the same as @yqiang Fixed it with: