markdown iTerm2 Solarized Dark主题+鱼壳+哦我的鱼/// macOS High Sierra

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown iTerm2 Solarized Dark主题+鱼壳+哦我的鱼/// macOS High Sierra相关的知识,希望对你有一定的参考价值。

![Screenshot](https://leymannx.de/iterm2_fish_ohmyfish.png "iTerm2 Solarized Dark theme + Fish shell + ohmyfish")

## Install [iTerm 2](https://www.iterm2.com)

Download, unzip and drag to your Applications directory.

https://www.iterm2.com/downloads.html

## Install [Fish](https://fishshell.com/docs/current/tutorial.html)

`brew install fish`

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

iTerm2 > Preferences > Profiles > General > Basics / Name: fish > Command: /usr/local/bin/fish

Restart iTerm2

## Install [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish)

`curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish`

## Install oh-my-fish [agnoster package](https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md#agnoster)

`omf install agnoster`

Restart iTerm2

## [Powerline fonts](https://github.com/powerline/fonts)

`git clone https://github.com/powerline/fonts.git --depth=1`

`cd fonts`

`./install.sh`

`cd ..`

`rm -rf fonts`

iTerm2 > Preferences > Profiles > Text > Font > Change Font > 14pt Meslo LG M Regular for Powerline

Restart iTerm2

## [Solarized](http://ethanschoonover.com/solarized) Dark iTerm2 theme

Save Link As ... > https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Solarized%20Dark%20-%20Patched.itermcolors

Double Click

iTerm2 > Preferences > Profiles > Colors > Color Presets > Solarized Dark - Patched

Restart iTerm2

## Credits

https://jmolivas.weknowinc.com/improve-your-shell-using-fish-and-oh-my-fish

https://gist.github.com/kevin-smets/8568070

http://ethanschoonover.com/solarized

https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Themes.md#agnoster

https://fishshell.com/docs/current/tutorial.html

https://fishshell.com/docs/current/index.html

以上是关于markdown iTerm2 Solarized Dark主题+鱼壳+哦我的鱼/// macOS High Sierra的主要内容,如果未能解决你的问题,请参考以下文章

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

markdown iTerm2 +哦我的Zsh + Solarized配色方案+ Meslo powerline字体+ [Powerlevel9k] - (macOS)

使用Solarized在iTerm2中使用vim的颜色不正确

Mac高效开发之iTerm2Prezto和Solarized主题

Mac 终端定制(iTerm2 + oh-my-zsh + Powerline + solarized + agnoster)