From 5e82673f62ee6166a2d29253722ca517212ddf76 Mon Sep 17 00:00:00 2001 From: Michael Ochmann Date: Sat, 23 Nov 2024 17:41:24 +0100 Subject: [PATCH] bashrc: added override possibility --- .bashrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 4356009..83e1af8 100644 --- a/.bashrc +++ b/.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>&-