1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Update command-not-found hook.

The hook is now compatible with both ubuntu zsh and arch zsh cnf hooks.
This commit is contained in:
Bert Peters
2015-12-14 10:43:41 +01:00
parent bc9fbf368e
commit 0b037ab35b

6
zshrc
View File

@@ -20,7 +20,11 @@ prompt bart
setopt HIST_IGNORE_DUPS setopt HIST_IGNORE_DUPS
# Setup the CNF hook # Setup the CNF hook
source /usr/share/doc/pkgfile/command-not-found.zsh if [[ -s /usr/share/doc/pkgfile/command-not-found.zsh ]]; then
source /usr/share/doc/pkgfile/command-not-found.zsh
elif [[ -s /etc/zsh_command_not_found ]]; then
source /etc/zsh_command_not_found
fi
# History search # History search
autoload -U history-search-end autoload -U history-search-end