diff --git a/.bashrc b/.bashrc index 49a9ff5..a1cd7c2 100644 --- a/.bashrc +++ b/.bashrc @@ -6,7 +6,7 @@ # # Reference: https://wiki.thurstylark.com/Bashrc.html -### GENERAL CONFIG ### +### BASH CONFIG ### # If not running interactively, don't do anything [[ $- != *i* ]] && return @@ -14,9 +14,6 @@ # If a directory is given without any command, CD into it. shopt -s autocd -# Enable pkgfile to automatically search for packages if pkgfile is installed -[[ -s /usr/share/doc/pkgfile/command-not-found.bash ]] && source /usr/share/doc/pkgfile/command-not-found.bash - ### OTHER CONFIG ### diff --git a/.bashrc.d/30-pkgfile.sh b/.bashrc.d/30-pkgfile.sh new file mode 100644 index 0000000..14fb1b9 --- /dev/null +++ b/.bashrc.d/30-pkgfile.sh @@ -0,0 +1,2 @@ +# Enable pkgfile to automatically search for packages if pkgfile is installed +[[ -s /usr/share/doc/pkgfile/command-not-found.bash ]] && source /usr/share/doc/pkgfile/command-not-found.bash