2.10. zsh 相关¶
2.10.1. zsh¶
Flexible and fast Zsh plugin manager: https://github.com/zdharma/zinit
Kubernetes prompt info for bash and zsh: https://github.com/jonmosco/kube-ps1
ohmyzsh¶
安装ohmyzsh: https://github.com/ohmyzsh/ohmyzsh
插件¶
zsh语法高亮: https://github.com/zsh-users/zsh-syntax-highlighting
方法1: 不使用ohmyzsh brew install zsh-syntax-highlighting 方法2: 使用ohmyzsh: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md#with-a-plugin-manager
A better cd command: https://github.com/wting/autojump
主题¶
https://github.com/denysdovhan/spaceship-prompt:
1. 前提:安装font https://github.com/powerline/fonts 2. 作用 修改界面显示
https://github.com/romkatv/powerlevel10k
据说使用人最多
参考¶
(a Better Mac Terminal Experience): https://medium.com/@caulfieldOwen/youre-missing-out-on-a-better-mac-terminal-experience-d73647abf6d7
2.10.2. fish¶
fish: friendly interactive shell
安装:
brew install fish
如果是错误命令会用「红色」字体显示,而如果命令正确会用「绿色」字体显示,如下图:
the best shell prompt: https://github.com/matchai/spacefish/