Update dotfiles/.bashrc

This commit is contained in:
Brian Zalewski 2022-10-26 04:04:19 +00:00
parent 3395028d2e
commit 5ee6bc7cd1

View file

@ -1,7 +1,9 @@
### Fig
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then
. "$HOME/.fig/shell/bashrc.pre.bash"
fi
fi
### ~/.profile
if [ -f "$HOME/.profile" ]; then
@ -262,11 +264,6 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
### zoxide
command -v zoxide > /dev/null && eval "$(zoxide init bash)"
### Fig
if [ -f "$HOME/.fig/shell/bashrc.post.bash" ]; then
. "$HOME/.fig/shell/bashrc.post.bash"
fi
### MOTD
if ([ -n "$SSH_CONNECTION" ] && [ "$SHLVL" -eq 1 ] && [[ $- == *i* ]]) || [ -e qubes-vmexec ] || [ -e qubes-dom0-update ]; then
if [ -z "$MOTD" ] || [ "$MOTD" -ne 0 ]; then
@ -282,4 +279,9 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
fi
fi
fi
### Fig
if [ -f "$HOME/.fig/shell/bashrc.post.bash" ]; then
. "$HOME/.fig/shell/bashrc.post.bash"
fi
fi