Make command-not-found no-op when support not available (e.g. not on Ubuntu)

This commit is contained in:
Lorrin Nelson 2011-02-07 23:21:46 -08:00 committed by Lorrin Nelson
parent 52df85440e
commit e8a7a31ef6

View File

@ -2,4 +2,4 @@
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
# this is installed in Ubuntu
source /etc/zsh_command_not_found
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found