1 sudo apt install zsh
2 omz
https://github.com/ohmyzsh/ohmyzsh
用proxychains
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
sh install.sh
3 设置 .zshrc
#ZSH_THEME=“mortalscumbag”
ZSH_THEME=“robbyrussell”
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/data/4miniconda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/data/4miniconda/etc/profile.d/conda.sh" ]; then
. "/data/4miniconda/etc/profile.d/conda.sh"
else
export PATH="/data/4miniconda/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
export CUDA_HOME=/usr/local/cuda
export PATH=${CUDA_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${CUDA_HOME}//lib64:$LD_LIBRARY_PATH