zsh_command_not_found 258 B

123456789101112
  1. #!/bin/zsh
  2. #
  3. #command not found handler for zsh.
  4. #This handler is part of Zsh and is hooked to command-not-found program.
  5. #man zshmisc is your friend.
  6. function command_not_found_handler()
  7. {
  8. /usr/bin/python /usr/bin/command-not-found $1;
  9. return $?
  10. }