Fixed PATH problem with bash

This commit is contained in:
Louis Lacoste 2023-02-24 16:30:39 +01:00
parent 69aa46d801
commit 80bed3a2ce
4 changed files with 1934 additions and 0 deletions

1919
.bash_history Normal file

File diff suppressed because it is too large Load diff

7
.bash_logout Normal file
View file

@ -0,0 +1,7 @@
# ~/.bash_logout: executed by bash(1) when login shell exits.
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi

View file

@ -10,6 +10,9 @@ eval $(thefuck --alias fuck)
# To enable conda auto-completion # To enable conda auto-completion
eval "$(register-python-argcomplete conda)" eval "$(register-python-argcomplete conda)"
# Set browser
BROWSER=$(which firefox)
# Autocompletion # Autocompletion
bind 'set show-all-if-ambiguous on' bind 'set show-all-if-ambiguous on'
#bind 'TAB:menu-complete' #bind 'TAB:menu-complete'
@ -25,3 +28,7 @@ fi
if [ -d "$HOME/.local/bin" ] ; then if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.local/bin:$PATH"
fi fi
if [ -d "$HOME/.emacs.d/bin" ] ; then
PATH="$HOME/.emacs.d/bin:$PATH"
fi

View file

@ -126,6 +126,7 @@ else
. "/home/polarolouis/miniconda3/etc/profile.d/conda.sh" . "/home/polarolouis/miniconda3/etc/profile.d/conda.sh"
else else
export PATH="/home/polarolouis/miniconda3/bin:$PATH" export PATH="/home/polarolouis/miniconda3/bin:$PATH"
. "$HOME/.bash_profile"
fi fi
fi fi
unset __conda_setup unset __conda_setup