Fast, async zsh prompt theme for Oh My Zsh.
~/project main +2 ~1 ?3 ↑1 12:34:56
❯
- Async git - single
git statuscall, parsed in background, prompt never blocks - Two-line layout - path and git info on line 1, clean input on line 2
- Nerd Font icons - `` branch icon, consistent glyph widths
- Git status counts - staged (
+), modified (~), untracked (?), deleted (-), unmerged (!) - Ahead/behind -
↑N/↓Nrelative to remote - Exit status - green
❯on success, red❯on failure - Right-aligned time - color-coded by last exit status (blue ok, red error)
- Detached HEAD - shows tag name or short SHA
git clone https://github.com/gni/traista ~/.oh-my-zsh/custom/themes/traistaSet in .zshrc:
ZSH_THEME="traista/traista"Restart your shell.
Or install with dotfiles:
git clone https://github.com/gni/dotfiles ~/dotfiles
cd ~/dotfiles
make install| Symbol | Color | Meaning |
|---|---|---|
+N |
green | Staged files |
~N |
yellow | Modified files (worktree) |
?N |
blue | Untracked files |
-N |
red | Deleted files |
!N |
magenta | Unmerged (conflicts) |
↑N |
green | Commits ahead of remote |
↓N |
red | Commits behind remote |
MIT - see LICENSE.