iTerm2

https://iterm2.com/

安装iTerm2

推荐使用brew安装。

SH
brew install --cask iterm2
Click to expand and view more

安装Oh My Zsh

https://github.com/ohmyzsh/ohmyzsh

先确认自己的shell是否是zsh,不是的话需要安装zsh

SH
echo $SHELL
Click to expand and view more

通过curl安装

SH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Click to expand and view more

安装starship

https://starship.rs/

需要先安装nerd font。

https://www.nerdfonts.com/

选择一种自己喜欢的来安装:

SH
# 罗列字体
brew search '/font-.*-(nerd-font|nf)/' | awk '{ print $1 }'

# 安装一个自己喜欢的字体
brew install --cask font-jetbrains-mono-nerd-font
Click to expand and view more

修改字体

iTerm -> Profiles -> Text -> Font

安装starship

SH
brew install starship
Click to expand and view more

修改zsh配置文件,添加到最后

SH
# ~/.zshrc

eval "$(starship init zsh)"
Click to expand and view more

启动starship

SH
source ~/.zshrc
Click to expand and view more

Copyright Notice

Link: https://qefee.com/iterm2/

License: 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut