https://github.com/mbolis/mbolis-zsh-theme
https://github.com/mbolis/mbolis-zsh-theme
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mbolis/mbolis-zsh-theme
- Owner: mbolis
- License: gpl-3.0
- Created: 2020-01-13T17:10:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T17:25:24.000Z (almost 6 years ago)
- Last Synced: 2025-01-25T14:29:51.865Z (10 months ago)
- Language: Shell
- Size: 360 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - mbolis - Includes `git` decorations, changes prompt color if root user, active jobs, and [jenv](https://github.com/jenv/jenv) integration. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - mbolis - Includes `git` decorations, changes prompt color if root user, active jobs, and <b><code> 6452⭐</code></b> <b><code> 394🍴</code></b> [jenv](https://github.com/jenv/jenv)) integration. (Themes / ZSH on Windows)
- awesome-zsh-plugins - mbolis - Includes `git` decorations, changes prompt color if root user, active jobs, and [jenv](https://github.com/jenv/jenv) integration. (Themes / Zinit (née zplugin))
README
# mbolis ZSH Theme
A custom theme for [Oh my ZSH](https://github.com/ohmyzsh/ohmyzsh).
## Features
* Left prompt:
- full path display
- alternate prompt color for root user
- previous command error status indicator
- active jobs indicator
- basic Git integration
- [jenv](https://github.com/jenv/jenv) integration
* Right prompt:
- actual exit code on error
- current Git commit hash
* Second level prompt:
- auto indentation
- parser context stack on the right
## Screenshot

## Installation
* Vanilla [Oh my ZSH](https://github.com/ohmyzsh/ohmyzsh)
```
wget -O "${ZSH}/custom/themes/mbolis.zsh-theme" \
https://raw.github.com/mbolis/mbolis-zsh-theme/master/mbolis.zsh
```
* [Antigen](https://github.com/zsh-users/antigen)
```
antigen use oh-my-zsh
antigen bundle git
antigen bundle jenv
antigen theme mbolis/mbolis-zsh-theme
```
* [Zgen](https://github.com/tarjoilija/zgen)
```
zgen oh-my-zsh
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/jenv
zgen load mbolis/mbolis-zsh-theme
```
* [Zplugin](https://github.com/zdharma/zplugin)
```
setopt promptsubst
zplugin ice wait lucid
zplugin snippet OMZ::lib/git.zsh
zplugin ice wait atload"unalias grv" lucid
zplugin snippet OMZ::plugins/git/git.plugin.zsh
zplugin ice wait lucid
zplugin snippet OMZ::plugins/jenv/jenv.plugin.zsh
PS1=">>> "
zplugin ice wait'!' lucid
zplugin light mbolis/mbolis-zsh-theme
```
## Future plans
* Syntax highlighting
* Auto-completion styling
* Custom behavior on double-return (?)