command-not-found.plugin.zsh 485 Bytes
Newer Older
1
2
3
4
# Uses the command-not-found package zsh support
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
# this is installed in Ubuntu

5
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
6
7
8
9

# Arch Linux command-not-found support, you must have package pkgfile installed
# https://wiki.archlinux.org/index.php/Pkgfile#.22Command_not_found.22_hook
[[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh