Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gimbo/gimbo.zsh-theme
A zsh theme with lots of features, little eye candy, and a magic context-sensitive extra line
https://github.com/gimbo/gimbo.zsh-theme
zsh-theme
Last synced: about 2 months ago
JSON representation
A zsh theme with lots of features, little eye candy, and a magic context-sensitive extra line
- Host: GitHub
- URL: https://github.com/gimbo/gimbo.zsh-theme
- Owner: gimbo
- License: mit
- Archived: true
- Created: 2017-08-14T08:20:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-23T10:25:56.000Z (almost 3 years ago)
- Last Synced: 2024-01-25T23:12:19.666Z (4 months ago)
- Topics: zsh-theme
- Language: Shell
- Homepage:
- Size: 624 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-zsh-plugins - gimbo - A variant of [purepower](https://github.com/romkatv/dotfiles-public/blob/master/.purepower) with more features, a little eye candy and context-sensitive extra lines. Includes `git` status decorations, history number, username/hostname context, directory status, status of last command if it failed, and the Python virtualenv name if present. (Themes / ZSH on Windows)
- awesome-zsh-plugins - gimbo - A variant of [purepower](https://github.com/romkatv/dotfiles-public/blob/master/.purepower) with more features, a little eye candy and context-sensitive extra lines. Includes `git` status decorations, history number, username/hostname context, directory status, status of last command if it failed, and the Python virtualenv name if present. (Themes / Zinit (nÊe zplugin))
- awesome-zsh-plugins - gimbo - A variant of [purepower](https://github.com/romkatv/dotfiles-public/blob/master/.purepower) with more features, a little eye candy and context-sensitive extra lines. Includes `git` status decorations, history number, username/hostname context, directory status, status of last command if it failed, and the Python virtualenv name if present. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - gimbo - A variant of <b><code> 280â</code></b> <b><code> 88đ´</code></b> [purepower](https://github.com/romkatv/dotfiles-public/blob/master/.purepower)) with more features, a little eye candy and context-sensitive extra lines. Includes `git` status decorations, history number, username/hostname context, directory status, status of last command if it failed, and the Python virtualenv name if present. (Themes / ZSH on Windows)
README
# gimbo's zsh prompt theme
> A zsh theme with lots of features, little eye candy, and a magic
> context-sensitive extra lineThis is my zsh prompt, a modification/extension of the
[purepower](https://github.com/romkatv/dotfiles-public/blob/master/.purepower)
config for the
[powerlevel10k](https://github.com/romkatv/powerlevel10k) theme.It's fairly minimal in terms of eye candy, focusing on showing the
interesting data, with a smattering of colour (suitable for a dark
background) to highlight important parts.The main feature of note is probably the second line, which only
appears in the presence of a python venv or git repo.## Structure
This is a two- or three-line prompt, depending on context. We have:
* First line:
- History number
- Time
- Context (i.e. username/hostname)
- Directory writable status
- Directory - in full
- Status of last command if it failed
- pyenv in use if not standard* Second line - only shown if either of the following are present:
- Python virtualenv name
- Git info, consisting of:
+ Repo name (i.e. name of folder containing `.git` folder)
+ (A fixed `Âą` separator)
+ Branch name
+ Dirtiness indicators* Actual prompt line:
- Just a `$` except if in vicmd mode (then it's a `<`)
- Green if last command succeeded; red otherwise.* Right hand side:
- Command execution time
- Indicator if user is root
- Background jobs indicator## Screenshots
![gimbo theme screenshot](https://raw.githubusercontent.com/gimbo/gimbo.zsh-theme/master/screenshots/gimbo-theme%20screenshot.png)
Same examples, With annotations:
![gimbo theme screenshot with annotations](https://raw.githubusercontent.com/gimbo/gimbo.zsh-theme/master/screenshots/gimbo-theme%20screenshot%20with%20annotations.png)