A minimal zsh theme.
TODO: asciicast.org
-
Copy file
arrow-minimal.zsh-theme
to$ZSH_CUSTOM/themes
folder. (You may need to createthemes
folder if it doesn't exist) -
Set theme to
arrow-minimal
in~/.zshrc
:
ZSH_THEME="arrow-minimal"
- Current working directory
- Git sha
- Git branch
- Git status
𐄂
– Dirty branch✓
– Clean branch↓
– Behind remote↑
– Ahead remote↔
– Diverged remote
- Prompt indicator
→
turns red if the last run fails - Vi-mode red indicator
❮❮❮
It would be better to put theme file into the $ZSH_CUSTOM
folder, instead of
~/.oh-my-zsh/themes
.
Because files under ~/.oh-my-zsh/custom/
folder are ignored by git, and will
leave the working directory clean.
You can get more help from oh-my-zsh: Custom Theme
The MIT License.