1
0
Fork 0

added command-not-found for arch linux

pull/482/head
Daniel Renninghoff 11 years ago
parent a4bacb8bb9
commit 025b6e72c2

@ -1,7 +1,7 @@
Command-Not-Found Command-Not-Found
================= =================
Loads the [command-not-found][1] tool on Debian-based distributions. Loads the [command-not-found][1] tool on Debian-based distributions or Arch Linux.
Authors Authors
------- -------

@ -6,9 +6,10 @@
# #
# Return if requirements are not found. # Return if requirements are not found.
if [[ ! -s '/etc/zsh_command_not_found' ]]; then if [[ -s '/etc/zsh_command_not_found' ]]; then
source '/etc/zsh_command_not_found' # Debian-based distributions
elif [[ -s '/usr/share/doc/pkgfile/command-not-found.zsh' ]]; then
source '/usr/share/doc/pkgfile/command-not-found.zsh' # Arch Linux
else
return 1 return 1
fi fi
source '/etc/zsh_command_not_found'

Loading…
Cancel
Save