zsh: only source pkgfile CNF if exists

This commit is contained in:
lelgenio 2019-12-17 21:40:42 -03:00
parent be4db3b8e2
commit fdb7a98acc
1 changed files with 3 additions and 1 deletions

View File

@ -255,7 +255,9 @@ preexec() { echo -ne '\e[5 q' ;}
zstyle ':completion:*' rehash true
zstyle :compinstall filename '/home/lelgenio/.config//zsh//.zshrc'
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
source /usr/share/doc/pkgfile/command-not-found.zsh
[ -f /usr/share/doc/pkgfile/command-not-found.zsh ] &&
source /usr/share/doc/pkgfile/command-not-found.zsh
autoload -Uz compinit
compinit