Mac终端配置

2023-05-08  本文已影响0人  andforce

安装Oh-My-Zsh

https://ohmyz.sh/#install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

语法高亮

https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
# 重启终端

安装主题

从这里选一个自己喜欢的
https://github.com/lysyi3m/macos-terminal-themes

安装exa,代替ls

https://the.exa.website/install/macos

上一篇 下一篇

猜你喜欢

热点阅读