Fish-shell: unable to terminate certain processes with keyboard interrupt (ctrl+c)

Created on 21 Jun 2013  ·  3Comments  ·  Source: fish-shell/fish-shell

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:

  • Run fish_config
  • Hit ctrl+c to exit the program

Expected behavior:

  • User is returned to the shell

Actual behavior

  • Shell seems to be stuck trying to exit. The last output is "KeyboardInterrupt" from the python script.

Sample from activity monitor:
https://gist.github.com/yqiang/5834550

Most helpful comment

I had the same as @yqiang Fixed it with:

$ omf update

All 3 comments

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
Was this page helpful?
0 / 5 - 0 ratings