check if /etc/zsh_command_not_found exists

This commit is contained in:
Stanislav Vorobyev 2012-09-03 16:58:25 +04:00
commit 25bd025efa

View file

@ -2,4 +2,6 @@
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
# this is installed in Ubuntu
source /etc/zsh_command_not_found
if [ -f /etc/zsh_command_not_found ]; then
source /etc/zsh_command_not_found
fi