iterm + oh-my-zsh = 好看的终端~
2019-07-05 本文已影响9人
精神病患者link常

下载iterm
https://www.iterm2.com/
安装 oh-my-zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
修改主题
$ vim ~/.zshrc

主题地址 https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
i
进行修改
esc
退出修改
:wq
保存退出
重启iterm
❌❌❌❌出现乱码

需要下载字体
需要创建一个文件夹,cd 到文件夹
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
❌❌❌❌LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
git config --global --unset http.proxy
git config --global --unset https.proxy
iterm 选择一种字体

将iterm设置为默认终端
chsh -s /bin/zsh
设置系统的终端为默认终端
chsh -s /bin/bash
设置背景图片
iTerm2 -> Preferences -> Profiles -> Window -> BackGround Image