- Supported OS: macOS, Linux
- Shell: zsh
- Softwares:
- Git
- iTerm2
https://www.iterm2.com/
- Oh My Zsh
https://ohmyz.sh/
- If you don't have
zsh
shell, then install and set upzsh
as default - Download and install iTerm2 via either website or
brew cask install iTerm2
- zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions
- Powerline fonts
https://github.com/powerline/fonts
- JetBrains Mono
https://www.jetbrains.com/lp/mono/
- By default,
robbyrussell
theme is using in oh-my-zsh but you can change it to other themes. My suggestion isSpaceship ZSH
. It's simple and better than any other themes. - To install the
spaceship
theme, you might want to go through the guideline or using the following for quick started
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
- Open iTerm2 Preferences > Profiles > Text
- Change the font to
Cousine for Powerline
orJetBrains Mono
- Adjust the font size to
14
or your preferred one - Check
Use ligatures
andAnti-aliased
options
- Change the font to
- Open iTerm2 Preferences > Profiles > Window
- Adjust Transparency to your prefer
- Check
Blur
and adjust it
- Open iTerm2 Preferences > Profiles > Terminal
- Check
Unlimited scrollback
- Check
- Change the theme as
ZSH_THEME="spaceship"
- To disable current Kubernetes context info you might want to put
SPACESHIP_KUBECONTEXT_SHOW="false"
- Load Oh My Zsh plugins
plugins=(git osx mvn docker kubectl helm zsh-autosuggestions)
- Keep
source ~/.profile
beforesource $ZSH/oh-my-zsh.sh
if you want to config/reuse your.profile
- Your later customizations (not for oh-my-zsh) need to put after the line of
source $ZSH/oh-my-zsh.sh
- After all, remember running
source .zshrc
to update the changes.
- Install and set up zsh as default https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH
- Oh My Zsh Plugins https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins
- Oh My Zsh Themes https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
- Spaceship ZSH theme https://github.com/denysdovhan/spaceship-prompt