dotfiles/plugins/command-not-found/command-not-found.plugin.zsh
Dreaded_X 21ca061287 Squashed 'oh-my-zsh/' content from commit 550ccca
git-subtree-dir: oh-my-zsh
git-subtree-split: 550ccca91cb45fcf26a8f2c3c60da675b995e3f3
2015-02-05 18:32:26 +01:00

10 lines
485 B
Bash

# 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
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
# 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