From 3e260b58764ac5d0523cf29f949d464c1559778d Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 12 Dec 2019 14:47:31 -0600 Subject: [PATCH] Moved pkgfile config to its own file --- .bashrc | 5 +---- .bashrc.d/30-pkgfile.sh | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .bashrc.d/30-pkgfile.sh 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