好用的ssh工具oh-my-zsh / iterm2

时间:2023-03-09 08:35:00
好用的ssh工具oh-my-zsh / iterm2

The manual way

1. Clone the repository:

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

2. Optionally, backup your existing ~/.zshrc file:

cp ~/.zshrc ~/.zshrc.orig

3. Create a new Zsh config file by copying the Zsh template we’ve provided:

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

4. Set Zsh as your default shell:

chsh -s /bin/zsh

5. Start or restart Zsh by opening a new command-line window.