Update dotfiles/.bashrc
This commit is contained in:
parent
3395028d2e
commit
5ee6bc7cd1
1 changed files with 9 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
|||
### Fig
|
||||
if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then
|
||||
. "$HOME/.fig/shell/bashrc.pre.bash"
|
||||
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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue