First you have Zsh
, next install Oh My Zsh
https://ohmyz.sh/
1 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
Add Powerlevel10k
https://github.com/romkatv/powerlevel10k and configure it
1 | git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k |
Set ZSH_THEME
to powerlevel10k in .zshrc
1 | ZSH_THEME="powerlevel10k/powerlevel10k" |
Then run Powerlevel10k
configure:
1 | p10k configure |
Add zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions
1 | git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions |
Add zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting
1 | git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
and enable them in .zshrc
:
1 | ... |
Install Fig
(deprecated) https://fig.io/, an IDE-style autocomplete but for terminal, and configure in .zshrc
1 | ... |
References
- How To Make Your Boring Mac Terminal So Much Better, https://www.youtube.com/watch?v=CF1tMjvHDRA
- How To Setup Your Mac Terminal, https://www.josean.com/posts/terminal-setup