ohmyzshinstallationguide
- 默认ll命令支持
- 默认文件夹着色
- 其他各种插件
设置shell默认zsh(macOS Catalina 已默认是zsh)
查看当前shell
❯ echo $SHELL/bin/zsh
如果不是,下面命令修改即可
chsh -s /bin/zsh
安装oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Themes
推荐pure,您见了就喜欢
地址:https://github.com/sindresorhus/pure
Pure theme
cd ~/.oh-my-zsh/custom && git clone https://github.com/sindresorhus/pure &&
ln -s pure/pure.zsh-theme . &&
ln -s pure/async.zsh .
# Change in ~/.zshrc the ZSH_THEME to ZSH_THEME=refined
enjoy!!!
以上是 ohmyzshinstallationguide 的全部内容, 来源链接: utcz.com/z/513510.html