summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-04-23 19:55:46 -0700
committerRobby Russell <robby@planetargon.com>2013-04-23 19:55:46 -0700
commit1ae16a20d8681bf96e3bd72b81f7c0b3357c3a88 (patch)
tree9a5c0f6c895083c66df392bf1d1dadd8349e26da /plugins
parent2badd62c0ec5e7fb2a3751ad43ac80d092371d65 (diff)
parent388ae92d4755dae0f2d205dbb40fb0bbd975c9b3 (diff)
downloadzsh-1ae16a20d8681bf96e3bd72b81f7c0b3357c3a88.tar.gz
zsh-1ae16a20d8681bf96e3bd72b81f7c0b3357c3a88.tar.bz2
zsh-1ae16a20d8681bf96e3bd72b81f7c0b3357c3a88.zip
Merge pull request #1718 from toctan/master
command-not found support for Arch Linux
Diffstat (limited to 'plugins')
-rw-r--r--plugins/command-not-found/command-not-found.plugin.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh
index 567da1b45..f3d7ec2df 100644
--- a/plugins/command-not-found/command-not-found.plugin.zsh
+++ b/plugins/command-not-found/command-not-found.plugin.zsh
@@ -3,3 +3,7 @@
# this is installed in Ubuntu
[[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found
+
+# Arch Linux command-not-found support, you must have package pkgfile installed
+# https://wiki.archlinux.org/index.php/Pkgfile#.22Command_not_found.22_hook
+[[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh