# Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes #ZSH_THEME="ys" 字体显示奇怪的可以用这个 挺好的 #ZSH_THEME="agnoster" 这个主题也还行 ZSH_THEME="bullet-train"
在~/.zshrc中新增
1
export TERM=xterm-256color
安装终端配色
1 2 3
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git cd gnome-terminal-colors-solarized ./set_dark.sh
启用Zsh插件 修改~/.zshrc
1 2 3 4 5 6 7 8 9 10 11 12 13
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=( z git extract kubectl last-working-dir zsh-autosuggestions zsh-syntax-highlighting )