Moved pkgfile config to its own file

This commit is contained in:
David Thurstenson 2019-12-12 14:47:31 -06:00
parent 571770ef94
commit 3e260b5876
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@
# #
# Reference: https://wiki.thurstylark.com/Bashrc.html # Reference: https://wiki.thurstylark.com/Bashrc.html
### GENERAL CONFIG ### ### BASH CONFIG ###
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
@ -14,9 +14,6 @@
# If a directory is given without any command, CD into it. # If a directory is given without any command, CD into it.
shopt -s autocd 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 ### ### OTHER CONFIG ###

2
.bashrc.d/30-pkgfile.sh Normal file
View File

@ -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