bashrc: added override possibility

master
Michael Ochmann 7 months ago
parent dc613b1982
commit 5e82673f62
  1. 11
      .bashrc

@ -61,6 +61,10 @@ then
export PATH="/Applications/Emacs.app/Contents/MacOS:$PATH"
fi
if [ -f ~/.venv/bin/activate ]; then
source ~/.venv/bin/activate
fi
# COLORS
@ -335,7 +339,7 @@ if command -v manpath &> /dev/null
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
fi
export LDFLAGS="-L/usr/local/opt/libffi/lib"
#export LDFLAGS="-L/usr/local/opt/libffi/lib"
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
export DOCKER_BUILDKIT=0
@ -368,6 +372,7 @@ alias editrc="vim ~/.bashrc && reload"
alias shutdowncause="log show --predicate 'eventMessage contains \"Previous shutdown cause\"' --last 24h"
alias gl="glab"
alias mime="file --mime-type"
alias mountmunki="sshfs -o allow_other,defer_permissions munki:/uploads/ ~/munki/"
# PROPELLER TMUX SSH
#if [ -z "$TMUX" ] && [ $(dpkg-query -W -f='${Status}' tmux 2>/dev/null | grep -c "ok installed") -eq 1 ] && [ -n "$SSH_TTY" ] && [ -z "$NO_AUTO_TMUX" ] && [[ $- =~ i ]]
@ -382,5 +387,9 @@ if [ -f "$HOME/.cargo/env" ]
. "$HOME/.cargo/env"
fi
if [ -f "$HOME/.bash_override" ]; then
. "$HOME/.bash_override"
fi
#set +x
#exec 2>&3 3>&-

Loading…
Cancel
Save