Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masterodie/zsh-theme-odie
https://github.com/masterodie/zsh-theme-odie
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/masterodie/zsh-theme-odie
- Owner: masterodie
- License: mit
- Created: 2018-11-20T14:27:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T03:07:26.000Z (9 months ago)
- Last Synced: 2024-04-14T17:43:53.268Z (about 2 months ago)
- Language: Shell
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - odie - Works well on a dark background. Includes `git` status, python virtualenv and `vi`-mode status decorations. (Themes / ZSH on Windows)
README
# ZSH Theme
This theme includes status indicators for git, python virtualenv, vi mode and a symbol indicating the exit status of the last run command.
This was built with the help of [Oh My Zsh](https://github.com/ohmyzsh/ohmyzsh)
## Screenshots
The terminal used in the screenshots is gnome-terminal
The Colorscheme used is [vimix-dark-laptop-doder](https://github.com/vinceliuice)
Last command was successful (exit code of 0)
![clean](screenshots/clean.png)
Last command had an error (exit code not 0)
![command status](screenshots/command_status.png)
Git branch info
![git clean](screenshots/git_clean.png)
Python virtualenv info
![virtualenv clean](screenshots/venv_clean.png)
Python virtualenv info and git with changes in repository
![virtualenv and dirty git](screenshots/venv_git_dirty.png)
Vi-mode normal mode indicator
![vi-mode](screenshots/vi_mode.png)
## Installation
### antigen
With [antigen](https://github.com/zsh-users/antigen) add something like this to `~/.zshrc`
```zsh
# load antigen
source ${HOME}/.zsh/antigen.zsh
#...
antigen use oh-my-zsh
# ...
antigen bundle git
antigen bundle virtualenv
antigen bundle vi-mode
# ...
antigen theme masterodie/zsh-theme-odie
# ...
antigen apply
# ...
VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true # needed for vi-mode indicator to work correctly
```