mac终端美化之安装iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k]
2017-04-25 23:50
645 查看
截图效果:
如果没有安装brew请在命令行执行安装brew
安装ITerm2
brew cask install iterm2
如果没有安装brew请在命令行执行安装brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"[/code]
如果不想安装brew可以使用去ITerm官网下载并安装.下载主题
Solarized Dark theme
Solarized Light theme
其他主题
保存到 本地后 打开iTerm-> profiles -> colors -> load presets.安装 oh my zsh
安装命令
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"[/code]
下载完成后编辑.zshrc文件并指定主题为agnostervim ~/.zshrc set ZSH_THEME="agnoster"安装Powerlevel9k主题
安装命令
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
下载完成后编辑.zashrc文件并指定主题vim ~/.zshrc set ZSH_THEME="powerlevel9k/powerlevel9k".
自定义设置可以参考这里.安装字体
Meslo
Source Code Pro@14px字体比较协调.
Others @ powerline fonts
下载后安装字体在iTerm2设置
iTerm -> Preferences -> Profiles -> Text -> Change Font.
重启即可生效其他额外工作
auto suggestions
word jumping with arrow keys
shorter prompt style
syntax highlightingAuto suggestions (for Oh My Zsh)
下载到本地git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
在.zshrc插件设置中添加插件plugins=(zsh-autosuggestions)
重启iTerm2
相关文章推荐
- iTerm2 + OhMyZsh + agnoster + Powerline + solarized = 漂亮的Mac终端
- iTerm2 美化 oh my zsh powerline
- Iterm2安装Zsh + Oh My Zsh+Solarized
- Iterm2安装Zsh + Oh My Zsh+Solarized
- Iterm2安装Zsh + Oh My Zsh+Solarized
- 在OS X中使用oh-my-zsh和powerline安装iTerm2
- Iterm2 && Oh-my-zsh配置mac终端
- iTerm2 + oh my zsh +agnoster 打造最强Mac终端
- Iterm2安装Zsh + Oh My Zsh+Solarized
- iTerm2 配色方案(oh-my-zsh& Powerline)
- MAC终端显示git(master)的操作方法,安装oh my zsh
- mac下安装powerline美化终端窗口
- MacOS - iTerm2 + Oh my ZSH+ Powerline 打造个性终端最终版
- Iterm2安装Zsh + Oh My Zsh+Solarized
- MAC OS X 命令行工具Terminal实用插件oh-my-zsh官方说明与安装引导
- 学习记录:mac 安装配置oh-my-zsh
- Mac下配置iterm2和oh-my-zsh
- oh-my-zsh powerline
- Mac配置终端环境 iTerm2 + Zsh + Oh My Zsh + tmux
- 让putty,secureCRT等工具支持Powerline,oh-my-zsh,解决乱码问题