2021-08-24 19:16:19 -04:00
|
|
|
# .bashrc
|
|
|
|
|
|
|
|
# Source global definitions
|
|
|
|
if [ -f /etc/bashrc ]; then
|
|
|
|
. /etc/bashrc
|
|
|
|
fi
|
|
|
|
|
2021-08-24 21:00:29 -04:00
|
|
|
# Hook virtual environment modifers
|
|
|
|
source $HOME/.hooks
|
|
|
|
|
2021-08-24 19:16:19 -04:00
|
|
|
# User specific aliases and functions
|
2021-08-24 20:46:22 -04:00
|
|
|
source $HOME/.aliases
|
2021-08-24 19:16:19 -04:00
|
|
|
|
2021-08-24 21:25:16 -04:00
|
|
|
# >>> conda initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
|
|
__conda_setup="$('$HOME/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
eval "$__conda_setup"
|
|
|
|
else
|
|
|
|
if [ -f "$HOME/miniconda3/etc/profile.d/conda.sh" ]; then
|
|
|
|
. "$HOME/miniconda3/etc/profile.d/conda.sh"
|
|
|
|
else
|
|
|
|
export PATH="$HOME/miniconda3/bin:$PATH"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
unset __conda_setup
|
|
|
|
conda config --set changeps1 true
|
|
|
|
# <<< conda initialize <<<
|
|
|
|
|
|
|
|
# >>> direnv initalize >>>
|
|
|
|
eval "$(direnv hook bash)"
|
|
|
|
# <<< direnv initalize <<<
|
|
|
|
|
2021-08-24 19:16:19 -04:00
|
|
|
# Make the prompt pretty, just in case we're stuck in bash land
|
|
|
|
export PS1="[\[\e[32m\]\u\[\e[m\]@\[\e[33m\]\h\[\e[m\] \[\e[34m\]\W\[\e[m\]] \\$ "
|