https://github.com/jeffmhubbard/antsy-zsh-theme
Multiline oh-my-zsh theme with git info, virtualenv, vi-mode indicator, current history, jobs count, and exit status
https://github.com/jeffmhubbard/antsy-zsh-theme
antsy-zsh-theme oh-my-zsh-theme shell-theme terminal-theme zsh-theme
Last synced: 18 days ago
JSON representation
Multiline oh-my-zsh theme with git info, virtualenv, vi-mode indicator, current history, jobs count, and exit status
- Host: GitHub
- URL: https://github.com/jeffmhubbard/antsy-zsh-theme
- Owner: jeffmhubbard
- License: mit
- Created: 2020-03-19T00:50:02.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-15T03:29:23.000Z (over 4 years ago)
- Last Synced: 2025-04-06T14:43:07.552Z (about 1 month ago)
- Topics: antsy-zsh-theme, oh-my-zsh-theme, shell-theme, terminal-theme, zsh-theme
- Language: Shell
- Homepage:
- Size: 280 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# antsy-zsh-theme
Multiline `oh-my-zsh` theme with git info, virtualenv, vi-mode indicator, current history, jobs count, and exit status.
~~Intended to be used with a dark, 16-color terminal theme. I use the [Terminal.app or xterm](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) colors. Tango is okay too.~~
Every component of the prompt can now be customized with colors and "icons" (any glyph or character).
###### Default
###### Hideous example
#### Installation
##### oh-my-zsh
Get theme
```sh
git clone https://github.com/jeffmhubbard/antsy-zsh-theme
cp antsy-zsh-theme/antsy.zsh-theme $ZSH_CUSTOM/themes
```
Enable theme and plugins (optional) in `.zshrc`.
```sh
ZSH_THEME="antsy"plugins=( \
git \
virtualenv \
vi-mode \
...
)
```##### Other
This theme can be safely used outside of `oh-my-zsh`, but lacks `git`, `virtualenv`, and `vi-mode` components. Just source the theme somewhere in `.zshrc`.
```sh
source ~/antsy.zsh-theme
```#### Configuration
Further customization can be done by setting these enviroment variables in `.zshrc````sh
# hideous example
ANTSY_USER_COLOR="%B%F{57}"
ANTSY_USER_ICON=" %B%F{43}"
ANTSY_HOST_COLOR="%B%F{23}"
ANTSY_ROOT_COLOR="%B%F{74}"
ANTSY_ROOT_ICON=" %B%F{84}"
ANTSY_PATH_COLOR="%B%F{130}"
ANTSY_PATH_ICON=" %B%F{136}"
ANTSY_PATH_FORMAT='%47<...<%~%<<% '
ANTSY_GIT_COLOR="%B%F{207}"
ANTSY_GIT_ICON=" %B%F{171}"
ANTSY_GIT_SHA_COLOR="%B%F{88}"
ANTSY_GIT_SHA_ICON="|%B%F{54}"
ANTSY_GIT_STATE_COLOR="%B%F{110}"
ANTSY_GIT_STATE_ADDED=" ✚"
ANTSY_GIT_STATE_MODIFIED=" ●"
ANTSY_GIT_STATE_DELETED=" ✖"
ANTSY_GIT_STATE_RENAMED=" ➤"
ANTSY_GIT_STATE_UNMERGED=" ♦"
ANTSY_GIT_STATE_UNTRACKED=" ✱"
ANTSY_GIT_STATE_AHEAD=" ▲"
ANTSY_JOBS_COLOR="%B%F{48}"
ANTSY_JOBS_ICON=" %B%F{41}"
ANTSY_HISTORY_COLOR="%B%F{93}"
ANTSY_HISTORY_ICON=" %B%F{99}"
ANTSY_TIME_COLOR="%B%F{143}"
ANTSY_TIME_ICON=" %B%F{142}"
ANTSY_VENV_COLOR="%B%F{143}"
ANTSY_VENV_ICON=" %B%F{150}"
ANTSY_VIM_COLOR="%B%F{111}"
ANTSY_VIM_COLOR_ALT="%B%F{90}"
ANTSY_VIM_ICON="ﰲ"
ANTSY_PROMPT_COLOR="%B%F{137}"
ANTSY_PROMPT_ICON=" "
ANTSY_STATUS_COLOR="%B%F{63}"
ANTSY_STATUS_ICON="%B%F{35} "
ANTSY_CONTINUE_COLOR="%B%F{193}"
ANTSY_CONTINUE_ICON="ﲖ "
ANTSY_SELECT_COLOR="%B%F{87}"
ANTSY_SELECT_ICON=" "
ANTSY_MARKER_COLOR="%B%F{234}"
ANTSY_MARKER_ICON="─" # U+2500
```* `ANTSY_MARKER_ICON` can be multiple characters, with the last character will be repeated to the right side of the terminal.