MAC终端配色 安装oh my zsh

终端输入命令

curl -L [https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh](https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh) | sh
MAC终端配色 安装oh my zsh_第1张图片
Snip20170915_52.png

mac下默认的是bash先把bash修改成zsh

sudo chsh -s /bin/zsh

使用右侧命令来打开Oh My Zsh的配置文件

vi ~/.zshrc
  安装成功之后,我们可以通过vi ~/.zshrc,设置          ZSH_THEME="agnoster"对主题进行修改。  

avit zeta
/Users/liuhaolai/zsh-syntax-highlighting


MAC终端配色 安装oh my zsh_第2张图片
Snip20170915_54.png
然后按esc 输入:wq
重启终端

查看主题样式

 从finder进入~/.oh-my-zsh/themes
cd ~/.oh-my-zsh/themes

amuse sunaku
展示如下:

3den.zsh-theme                darkblood.zsh-theme           gallifrey.zsh-theme           kardan.zsh-theme              nicoulaj.zsh-theme            steeef.zsh-theme
Soliah.zsh-theme              daveverwer.zsh-theme          gallois.zsh-theme             kennethreitz.zsh-theme        norm.zsh-theme                strug.zsh-theme
adben.zsh-theme               dieter.zsh-theme              garyblessington.zsh-theme     kiwi.zsh-theme                obraun.zsh-theme              sunaku.zsh-theme
af-magic.zsh-theme            dogenpunk.zsh-theme           gentoo.zsh-theme              kolo.zsh-theme                peepcode.zsh-theme            sunrise.zsh-theme
afowler.zsh-theme             dpoggi.zsh-theme              geoffgarside.zsh-theme        kphoen.zsh-theme              philips.zsh-theme             superjarin.zsh-theme
agnoster.zsh-theme            dst.zsh-theme                 gianu.zsh-theme               lambda.zsh-theme              pmcgee.zsh-theme              suvash.zsh-theme
alanpeabody.zsh-theme         dstufft.zsh-theme             gnzh.zsh-theme                linuxonly.zsh-theme           pure.zsh-theme                takashiyoshida.zsh-theme
amuse.zsh-theme               duellj.zsh-theme              gozilla.zsh-theme             lukerandall.zsh-theme         pygmalion.zsh-theme           terminalparty.zsh-theme
apple.zsh-theme               eastwood.zsh-theme            half-life.zsh-theme           macovsky-ruby.zsh-theme       re5et.zsh-theme               theunraveler.zsh-theme
arrow.zsh-theme               edvardm.zsh-theme             humza.zsh-theme               macovsky.zsh-theme            refined.zsh-theme             tjkirch.zsh-theme
aussiegeek.zsh-theme          emotty.zsh-theme              imajes.zsh-theme              maran.zsh-theme               rgm.zsh-theme                 tjkirch_mod.zsh-theme
avit.zsh-theme                essembeh.zsh-theme            intheloop.zsh-theme           mgutz.zsh-theme               risto.zsh-theme               tonotdo.zsh-theme
awesomepanda.zsh-theme        evan.zsh-theme                itchy.zsh-theme               mh.zsh-theme                  rixius.zsh-theme              trapd00r.zsh-theme
bira.zsh-theme                example.zsh-theme             jaischeema.zsh-theme          michelebologna.zsh-theme      rkj-repos.zsh-theme           wedisagree.zsh-theme
blinks.zsh-theme              fino-time.zsh-theme           jbergantine.zsh-theme         mikeh.zsh-theme               rkj.zsh-theme                 wezm+.zsh-theme
bureau.zsh-theme              fino.zsh-theme                jispwoso.zsh-theme            miloshadzic.zsh-theme         robbyrussell.zsh-theme        wezm.zsh-theme
candy-kingdom.zsh-theme       fishy.zsh-theme               jnrowe.zsh-theme              minimal.zsh-theme             sammy.zsh-theme               wuffers.zsh-theme
candy.zsh-theme               flazz.zsh-theme               jonathan.zsh-theme            mira.zsh-theme                simonoff.zsh-theme            xiong-chiamiov-plus.zsh-theme
clean.zsh-theme               fletcherm.zsh-theme           josh.zsh-theme                mortalscumbag.zsh-theme       simple.zsh-theme              xiong-chiamiov.zsh-theme
cloud.zsh-theme               fox.zsh-theme                 jreese.zsh-theme              mrtazz.zsh-theme              skaro.zsh-theme               ys.zsh-theme
crcandy.zsh-theme             frisk.zsh-theme               jtriley.zsh-theme             murilasso.zsh-theme           smt.zsh-theme                 zhann.zsh-theme
crunch.zsh-theme              frontcube.zsh-theme           juanghurtado.zsh-theme        muse.zsh-theme                sonicradish.zsh-theme
cypher.zsh-theme              funky.zsh-theme               junkfood.zsh-theme            nanotech.zsh-theme            sorin.zsh-theme
dallas.zsh-theme              fwalch.zsh-theme              kafeitu.zsh-theme             nebirhos.zsh-theme            sporty_256.zsh-theme

你可能感兴趣的:(MAC终端配色 安装oh my zsh)