dotfiles/shell/command-not-found.sh

14 lines
357 B
Bash
Raw Normal View History

2017-01-26 13:48:55 +01:00
#!/bin/sh
# arch
if [ "${BASH_VERSION}" ] && [ -r /usr/share/doc/pkgfile/command-not-found.bash ]; then
2021-12-06 12:41:02 +01:00
# shellcheck source=/dev/null
. /usr/share/doc/pkgfile/command-not-found.bash
fi
if [ "${ZSH_VERSION}" ] && [ -r /usr/share/doc/pkgfile/command-not-found.zsh ]; then
2021-12-06 12:41:02 +01:00
# shellcheck source=/dev/null
. /usr/share/doc/pkgfile/command-not-found.zsh
fi