Upgrade default bashrc

This commit is contained in:
D-X-Y 2021-04-01 20:36:41 -07:00
parent b4fb71dde6
commit 0e35d8b156
2 changed files with 2 additions and 16 deletions

View File

@ -138,19 +138,3 @@ then
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
fi
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/v-xuanyidong/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/v-xuanyidong/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/v-xuanyidong/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/v-xuanyidong/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<

View File

@ -6,6 +6,8 @@ echo "script-directory: $script_dir"
cp ${script_dir}/tmux.conf ~/.tmux.conf
cp ${script_dir}/vimrc ~/.vimrc
cp ${script_dir}/bashrc ~/.bashrc
wget https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh
wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh