Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zakaziko99/agnosterzak-ohmyzsh-theme
An oh-my-zsh theme based on Powerline Vim & Agnoster theme
https://github.com/zakaziko99/agnosterzak-ohmyzsh-theme
Last synced: about 2 months ago
JSON representation
An oh-my-zsh theme based on Powerline Vim & Agnoster theme
- Host: GitHub
- URL: https://github.com/zakaziko99/agnosterzak-ohmyzsh-theme
- Owner: zakaziko99
- Created: 2016-02-28T12:45:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T23:29:08.000Z (about 5 years ago)
- Last Synced: 2024-01-25T17:38:36.223Z (4 months ago)
- Language: Shell
- Size: 358 KB
- Stars: 380
- Watchers: 6
- Forks: 73
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - agnosterzak - Based on [Agnoster](https://gist.github.com/agnoster/3712874), shows battery life, date & time, `git` status, current directory and user & host information. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - agnosterzak - Based on đ [Agnoster](gist.github.com/agnoster/3712874), shows battery life, date & time, `git` status, current directory and user & host information. (Themes / ZSH on Windows)
- awesome-zsh-plugins - agnosterzak - Based on [Agnoster](https://gist.github.com/agnoster/3712874), shows battery life, date & time, `git` status, current directory and user & host information. (Themes / Zinit (nÊe zplugin))
- awesome-zsh-plugins - agnosterzak - Based on [Agnoster](https://gist.github.com/agnoster/3712874), shows battery life, date & time, `git` status, current directory and user & host information. (Themes / ZSH on Windows)
- awesome-stars - zakaziko99/agnosterzak-ohmyzsh-theme - An oh-my-zsh theme based on Powerline Vim & Agnoster theme (Shell)
README
# AgnosterZak for oh-my-zsh ![Travis CI](https://travis-ci.org/zakaziko99/agnosterzak-ohmyzsh-theme.svg)
AgnosterZak is a [oh-my-zsh shell](https://github.com/robbyrussell/oh-my-zsh) theme based on the
[Powerline Vim plugin](https://github.com/Lokaltog/vim-powerline) &
[Agnoster Theme](https://gist.github.com/agnoster/3712874).It currently shows:
- Battery Life (in case of the laptop is not charging)
- Timestamp
- Current directory
- Git status
- User & Host status## Preview
![Preview](images/agnosterzak-01.png)
## Other color schemes
It's better to use AgnosterZak 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](https://github.com/Lokaltog/powerline-fonts), [Input Mono](http://input.fontbureau.com/) or [Monoid](http://larsenwork.com/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](https://github.com/robbyrussell/oh-my-zsh)## Installing
After installing [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
1. Download the theme [here](http://raw.github.com/zakaziko99/agnosterzak-ohmyzsh-theme/master/agnosterzak.zsh-theme)
2. Put the file **agnosterzak.zsh-theme** in **$ZSH_CUSTOM/themes/**
3. Configure the theme in your **~/.zshrc** file:
```bash
ZSH_THEME="agnosterzak"
```## 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
### Battery Life
The info will display in case of the laptop is not charging.
If you're using Linux, install `acpi` package (i.e. `sudo apt install acpi`).![Preview](images/agnosterzak-02.png)
|Battery status|Color
|--------------|-----|
|more than 39%|`green`
|less than 40% and more than 19%|`yellow`
|less than 20%|`red`### Git
![git-preview-1](images/agnosterzak-git-a.png)![git-preview-2](images/agnosterzak-git-b.png)
#### Color States
|Background Color & Foreground Color|Meaning
|----------------|----------------|
|![git-clean](images/agnosterzak-git-1.png)|Absolutely clean state
|![git-stash](images/agnosterzak-git-2.png)|There are stashed files
|![git-untracked](images/agnosterzak-git-3.png)|There are new untracked files
|![git-modified](images/agnosterzak-git-4.png)|There are modified or deleted files but unstaged#### 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
|``|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:
- [Powerline](https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme)
- [Agnoster](https://gist.github.com/agnoster/3712874)