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-themeto$ZSH_CUSTOM/themesfolder. (You may need to createthemesfolder if it doesn't exist) - Set theme to
zetain~/.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.
