https://github.com/zheeeng/agnoster-zheeeng.zsh-theme
agnoster.zsh-theme revamp based on <https://github.com/agnoster/agnoster-zsh-theme>
https://github.com/zheeeng/agnoster-zheeeng.zsh-theme
Last synced: 9 months ago
JSON representation
agnoster.zsh-theme revamp based on <https://github.com/agnoster/agnoster-zsh-theme>
- Host: GitHub
- URL: https://github.com/zheeeng/agnoster-zheeeng.zsh-theme
- Owner: zheeeng
- Created: 2015-10-26T16:18:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-05T01:58:53.000Z (about 10 years ago)
- Last Synced: 2025-01-24T12:45:58.038Z (over 1 year ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# agnoster-zheeeng.zsh-theme
**agnoster.zsh-theme revamp based on **
## Compatibility
For rendering this theme in all likelihood, you will need a [Powerline-patched font](https://gist.github.com/1595572).
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](https://github.com/adobe-fonts/source-code-pro)]
* Non-ASCII Font: 14pt Source Code Pro for Powerline Regular (display in iTerm2 Text config panel: 14pt Sauce Code Powerline)
The recommended iTerm2 theme:
* [Tomorrow Night Eighties theme](https://github.com/chriskempson/tomorrow-theme/tree/master/iTerm2)
## Usage
1. Copy `agnoster-zheeeng.zsh-theme` to `$ZSH_CUSTOM/themes/`.
2. Modify `.zshrc`, add `ZSH_THEME="agnoster-zheeeng"` below old `ZSH_THEME` and comment the old.
## Features
* 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 `
* > `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**
## Screenshots
- [ ] Todo: add screenshots
## Future Work
- [ ] install.sh
- [ ] vagrant status
- [ ] docker status
- [ ] git stash info
- [ ] SVN, HG support
- [ ] virtualenv, rbenv, jenv, nvm support
- [ ] Todo timer
## Improvement
- [ ] Fix blank space coloring once window wrapping cause prompt line breaking.
- [ ] The position of time info.