Merge pull request #256 from lorrin/no-op_command-not-found

Make command-not-found no-op when support not available (e.g. not on Ubuntu)
master
Robby Russell 14 years ago
commit 80ab595696
  1. 2
      plugins/command-not-found/command-not-found.plugin.zsh

@ -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

Loading…
Cancel
Save