Add local overrides to bashrc / zshrc
This commit is contained in:
@@ -120,3 +120,7 @@ fi
|
|||||||
if [ "$GPG_TTY" = "" ]; then
|
if [ "$GPG_TTY" = "" ]; then
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# override local settings with local shell files
|
||||||
|
[ -f "$HOME/.rc-local" ] && source "$HOME/.rc-local"
|
||||||
|
[ -f "$HOME/.bashrc-local" ] && source "$HOME/.bashrc-local"
|
||||||
|
|||||||
@@ -76,3 +76,9 @@ setopt HIST_LEX_WORDS # parse quotes when parsing history
|
|||||||
if [ "$GPG_TTY" = "" ]; then
|
if [ "$GPG_TTY" = "" ]; then
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# override local settings with local shell files
|
||||||
|
emulate bash
|
||||||
|
[ -f "$HOME/.rc-local" ] && source "$HOME/.rc-local"
|
||||||
|
emulate zsh
|
||||||
|
[ -f "$HOME/.zshrc-local" ] && source "$HOME/.zshrc-local"
|
||||||
|
|||||||
Reference in New Issue
Block a user