AgnosterBD for oh-my-zsh !
AgnosterBD is a oh-my-zsh shell theme based on the Powerline Vim plugin, Agnoster Theme & AgnosterZak
It currently shows:
- Battery Life (in case of the laptop is not charging)
- Timestamp
- Current directory
- Git status
- User & Host status
Preview
Changelog
- Show battery blocks according to battery life percent
- Change timestamp format to HH:MM mm/dd/yy
Other color schemes
It's better to use AgnosterBD with a Solarized dark color scheme or others dark color schemes.
Requirements
In order to use the theme, you will first need:
- Powerline compatible fonts like Vim Powerline patched fonts, Input Mono or Monoid.
- On Ubuntu like systems you'll need the
ttf-ancient-fonts
package to correctly display some unicode symbols that are not covered by the Powerline fonts above. - A ZSH framework like oh-my-zsh
Installing
After installing oh-my-zsh
-
Download the theme here
-
Put the file agnosterbd.zsh-theme in $ZSH_CUSTOM/themes/
-
Configure the theme in your ~/.zshrc file:
ZSH_THEME="agnosterbd"
Options
AgnosterZak is configurable. You can change colors and which segments you want or don't want to see. All options must be overridden in your .zshrc file.
Segments
Icons
Icon | Meaning |
---|---|
✔ |
clean directory |
☀ |
new untracked files preceeded by their number |
✚ |
added files from the new untracked ones preceeded by their number |
‒ |
deleted files preceeded by their number |
● |
modified files preceeded by their number |
± |
added files from the modifies or delete ones preceeded by their number |
⚑ |
ready to commit |
⚙ |
sets of stashed files preceeded by their number |
☊ |
branch has a stream, preceeded by his remote name |
↑ |
commits ahead on the current branch comparing to remote, preceeded by their number |
↓ |
commits behind on the current branch comparing to remote, preceeded by their number |
<B> |
bisect state on the current branch |
>M< |
Merge state on the current branch |
>R> |
Rebase state on the current branch |
Credits
This theme is highly inspired by the following themes: