2012-01-31 23:37:51 -05:00
|
|
|
#
|
|
|
|
# Displays installation information for not found commands.
|
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Joseph Jon Booker <joe@neoturbine.net>
|
2012-09-07 14:16:00 +02:00
|
|
|
# neeee <ne.tetewi@gmail.com>
|
2012-01-31 23:37:51 -05:00
|
|
|
#
|
2011-08-30 23:16:15 -04:00
|
|
|
|
2012-09-07 14:16:00 +02:00
|
|
|
if [[ -r '/etc/zsh_command_not_found' ]]; then
|
|
|
|
source '/etc/zsh_command_not_found'
|
|
|
|
elif [[ -r '/usr/share/doc/pkgfile/command-not-found.zsh' ]]
|
|
|
|
source '/usr/share/doc/pkgfile/command-not-found.zsh'
|
|
|
|
else
|
|
|
|
# Return if requirements are not found.
|
|
|
|
return 1
|
2011-08-30 23:16:15 -04:00
|
|
|
fi
|
2010-10-25 16:02:16 -05:00
|
|
|
|
2012-07-23 15:00:44 -04:00
|
|
|
|