Another ⭐theme for oh-my-zsh
bash -c "$(curl -fsSL https://raw.githubusercontent.com/skylerlee/zeta-zsh-theme/master/scripts/install.sh)"
- 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"
- 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
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.