Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
e8a7a31e
Commit
e8a7a31e
authored
Feb 07, 2011
by
Lorrin Nelson
Committed by
Lorrin Nelson
Mar 23, 2011
Browse files
Make command-not-found no-op when support not available (e.g. not on Ubuntu)
parent
52df8544
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/command-not-found/command-not-found.plugin.zsh
View file @
e8a7a31e
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
# as seen in http://www.porcheron.info/command-not-found-for-zsh/
# this is installed in Ubuntu
# this is installed in Ubuntu
source
/etc/zsh_command_not_found
[[
-e
/etc/zsh_command_not_found
]]
&&
source
/etc/zsh_command_not_found
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment