Awesome
ζ(Zeta) ZSH Theme
Another :star:theme for oh-my-zsh
Screenshot
Installation
Via curl
bash -c "$(curl -fsSL https://raw.githubusercontent.com/skylerlee/zeta-zsh-theme/master/scripts/install.sh)"
Manually
- Copy file
zeta.zsh-theme
to$ZSH_CUSTOM/themes
folder. (You may need to createthemes
folder if it doesn't exist) - Set theme to
zeta
in~/.zshrc
:
ZSH_THEME="zeta"
Features
- User name
- Machine name
- Current working directory
- Git branch
- Git status
✔
—— Clean branch✘
—— Dirty branch+
—— Added files-
—— Deleted files*
—— Modified files>
—— Renamed files=
—— Unmerged changes?
—— Untracked changes
- Prompt indicator turns red if the last run fails
Notice
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
License
The MIT License.