VPS

VPS

zsh

oh-my-zsh

https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh

提示符

export PROMPT='%{$fg[magenta]%}%(?..%?%1v)%n@%{$fg[green]%}%M:%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

设置默认 shell

sudo chsh -s /usr/bin/zsh