1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

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