Optionally load options from override file
This commit is contained in:
parent
750d9995e0
commit
828d2c1a71
1 changed files with 8 additions and 4 deletions
12
.bashrc
12
.bashrc
|
|
@ -1,6 +1,5 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
#
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
|
|
@ -96,7 +95,12 @@ fi
|
|||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
# load specific options from override file
|
||||
if [ -f ~/.bashrc.override ]; then
|
||||
. ~/.bashrc.override
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue