程序员离不开shell,一个好用的shell可以事半功倍,推荐zsh以及一些插件

 

# install zsh
$ brew install zsh

# install a framework, we recommend to use Oh My Zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# set zsh to your default shell
$ chsh -s $(which zsh)

# some popular plugin, edit ~/.zshrc
plugins=(git colored-man colorize pip python brew osx zsh-syntax-highlighting)

# add another plugin, make your life easy

# if you are using 'Oh My Zsh', it's easy to install that plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plugins=(zsh-autosuggestions)

# start a new terminal, enjoy~

 

Reference

安装zsh,以及选择一种framework

  • 'Oh My Zsh' https://sourabhbajaj.com/mac-setup/iTerm/zsh.html

然后推荐一些插件:

  • 自动补齐command插件 https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
  • 语法高亮zsh-syntax-highlighting https://github.com/zsh-users/zsh-syntax-highlighting

相关文章:

  • 2021-07-26
  • 2021-08-12
  • 2021-10-24
  • 2021-06-15
  • 2021-08-20
  • 2021-09-23
  • 2021-07-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2022-12-23
  • 2021-12-10
  • 2021-06-06
  • 2021-08-11
相关资源
相似解决方案