command-not-found.plugin.zsh 485 B

123456789
  1. # Uses the command-not-found package zsh support
  2. # as seen in http://www.porcheron.info/command-not-found-for-zsh/
  3. # this is installed in Ubuntu
  4. [[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
  5. # Arch Linux command-not-found support, you must have package pkgfile installed
  6. # https://wiki.archlinux.org/index.php/Pkgfile#.22Command_not_found.22_hook
  7. [[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh