diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index 2931d14..16d24f8 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -3,6 +3,11 @@ # Source the originaly generated bashrc . ~/SetupCockpit/dotfiles/bash/original_bashrc +# On Arch Linux, source pkgfile "command not found" hook +if [ -e /usr/share/doc/pkgfile/command-not-found.bash ]; then + source /usr/share/doc/pkgfile/command-not-found.bash +fi + # Enable colored less output export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;32m'