agnoster.zsh-theme revamp based on https://github.com/agnoster/agnoster-zsh-theme
For rendering this theme in all likelihood, you will need a Powerline-patched font.
Try the echo test echo "\ue0b0 \ue0a0 \u27a6 \u2714 \u2718 \u26a1 \u2699 \u2764 \u2693"
, and the expected output should look like:
The recommended terminal:
- iTerm2
The recommended iTerm2 fonts:
- Regular Font: Source Code Pro Regular [Associate Link]
- Non-ASCII Font: 14pt Source Code Pro for Powerline Regular (display in iTerm2 Text config panel: 14pt Sauce Code Powerline)
The recommended iTerm2 theme:
- Copy
agnoster-zheeeng.zsh-theme
to$ZSH_CUSTOM/themes/
. - Modify
.zshrc
, addZSH_THEME="agnoster-zheeeng"
below oldZSH_THEME
and comment the old.
- Privilege: root -
⚡
, normal user -⚓
-
Username
>Hostname
>Working directory
-
Local branch
Branch name
/➦ SHA1 in detached head state
: dirty working directory - background color change to yellow- Dirty working directory prompt what you would and could commit files (
a:$added u:$unadded t:$total heart:$all_added
) - Head ahead upstreawm count (
($ahead..
) -
Remote branch
- Head behind upstream count (
..$ahead)
) Branch name
- Head behind upstream count (
-
Previous command status
start in new line, failed -✘
, Success -✔
-
Are jobs working?
: Yes -⚙
, No - none -
Commands
- Current Time on the right of prompt
Tip: set DEFAULT_USER in our profile, username and hostname won't show
- Todo: add screenshots
- install.sh
- vagrant status
- docker status
- git stash info
- SVN, HG support
- virtualenv, rbenv, jenv, nvm support
- Todo timer
- Fix blank space coloring once window wrapping cause prompt line breaking.
- The position of time info.