MAC installation iTerm2
- 1 download iTerm2
ITerm official address
You can install wGET using Brew Install wget
- 2 install ohmyzsh
Install ohmyzsh
- 3 the configuration NVM
/ / modify ~ /. ZSHRC export NVM_DIR = ". $HOME/NVM "[-s" $NVM_DIR/NVM. Sh "] &&. "$NVM_DIR/NVM. Sh"Copy the code
- 4 Modifying a Theme
Modify the ~ /. ZSHRC ZSH_THEME = “agnoster”
- 5 Hide the user name in the command user is the configured user name
Modify the ~ /. ZSHRC DEFAULT_USER = “user”
- 6 fonts need to be installed fonts-powerline
fonts-powerline
- 7 Installing plug-ins
Modify the ~ /. ZSHRC need source ~ /. Effective ZSHRC configuration file If the/usr/local/share/ZSH and/usr/local/share/ZSH/site - try functions provides permissions chmod 755 /usr/local/share/zsh chmod 755 /usr/local/share/zsh/site-functions plugins=(git autojump colorize zsh-syntax-highlighting zsh-autosuggestions git-open)Copy the code
ZSH -syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting\n
Git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions\n
Git – open (open the current project in the terminal remote warehouse) git clone https://github.com/paulirish/git-open.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/git-open\n
Brew install autojump
Git (default support) colorize(github.com/ohmyzsh/ohm…)
- 8 vscode configuration position shell(setting.json)
"terminal.integrated.automationShell.linux": "/Applications/iTerm.app"