iTerm2

https://iterm2.com/

安装iTerm2

推荐使用brew安装。

SH
brew install --cask iterm2
点击展开查看更多

安装Oh My Zsh

https://github.com/ohmyzsh/ohmyzsh

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

SH
echo $SHELL
点击展开查看更多

通过curl安装

SH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
点击展开查看更多

安装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
点击展开查看更多

修改字体

iTerm -> Profiles -> Text -> Font

安装starship

SH
brew install starship
点击展开查看更多

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

SH
# ~/.zshrc

eval "$(starship init zsh)"
点击展开查看更多

启动starship

SH
source ~/.zshrc
点击展开查看更多

版权声明

链接: https://qefee.com/iterm2/

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

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

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键