1. 程式人生 > >Mac下 終端配置 iterm2+oh-my-zsh

Mac下 終端配置 iterm2+oh-my-zsh

1.Iterm2

2.Oh-my-zsh

再加上此包管理    回覆2   https://www.zhihu.com/question/21418449

看好多人說fish比zsh好,其實fish是拆箱即用,而zsh定製性強。所以fish給人第一印象就會很好,有很多炫酷的特性。
當我還在糾結 這個選擇時,我曾在知乎提過一個問題:fish比zsh好用嗎? - Linux

zsh支援遞迴

fish好比ubuntu、linux mint,zsh好比arch linux、gentoo。
如果用預設配置,那麼zsh也沒比bash強大到哪裡去,而fish的預設配置以及很炫酷了。

作者:Ivan
連結:https://www.zhihu.com/question/21418449/answer/95753913
來源:知乎
著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。

#################################################
fuck外掛

Fish 不敵 zsh

Installing Fish on macOS

There are several ways to install Fish on macOS:

  • traditional .pkg installer
  • standalone Mac application
  • Homebrew
  • manual compilation

The first two options are available from the Fish web site and are straightforward enough to be considered self-explanatory.

That said, if you already use Homebrew (which I recommend) and have configured your environment as noted in the 

macOS Setup Guide, then you can install Fish as you would any other package:

brew install fish

If you would prefer to install the latest bleeding-edge version of Fish via Homebrew, run the following instead of the above command:

brew install --HEAD fish

Once installation has completed, add Fish to /etc/shells

, which will require an administrative password:

echo "/usr/local/bin/fish" | sudo tee -a /etc/shells

To make Fish your default shell:

chsh -s /usr/local/bin/fish

Now that Fish is installed, you can proceed to the Basic Configuration section below.