1,输入zsh回车
zsh
2,输入下面回车:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
3,在tmux配置文件~/.tmux.conf中加入:
set -g default-command /bin/zsh
4,在zsh中加入virtualenv:
vim ~/.zshrc
add:
source ~/tensorflow/bin/activate