Fixed PATH problem with bash
This commit is contained in:
parent
69aa46d801
commit
80bed3a2ce
4 changed files with 1934 additions and 0 deletions
1919
.bash_history
Normal file
1919
.bash_history
Normal file
File diff suppressed because it is too large
Load diff
7
.bash_logout
Normal file
7
.bash_logout
Normal 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
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
1
.bashrc
1
.bashrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue