Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

command-not-found support for Arch Linux

  • Loading branch information...
commit 388ae92d4755dae0f2d205dbb40fb0bbd975c9b3 1 parent 85426a5
toctan toctan authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/command-not-found/command-not-found.plugin.zsh
4 plugins/command-not-found/command-not-found.plugin.zsh
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.