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" export PATH="/Applications/Emacs.app/Contents/MacOS:$PATH"
fi fi
if [ -f ~/.venv/bin/activate ]; then
source ~/.venv/bin/activate
fi
# COLORS # COLORS
@ -335,7 +339,7 @@ if command -v manpath &> /dev/null
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
fi 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 PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
export DOCKER_BUILDKIT=0 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 shutdowncause="log show --predicate 'eventMessage contains \"Previous shutdown cause\"' --last 24h"
alias gl="glab" alias gl="glab"
alias mime="file --mime-type" alias mime="file --mime-type"
alias mountmunki="sshfs -o allow_other,defer_permissions munki:/uploads/ ~/munki/"
# PROPELLER TMUX SSH # 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 ]] #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" . "$HOME/.cargo/env"
fi fi
if [ -f "$HOME/.bash_override" ]; then
. "$HOME/.bash_override"
fi
#set +x #set +x
#exec 2>&3 3>&- #exec 2>&3 3>&-

Loading…
Cancel
Save