https://github.com/u8slvn/oh-my-zsh-workbench-theme
An oh-my-zsh theme ⚒
https://github.com/u8slvn/oh-my-zsh-workbench-theme
oh-my-zsh oh-my-zsh-theme zsh-theme
Last synced: 7 months ago
JSON representation
An oh-my-zsh theme ⚒
- Host: GitHub
- URL: https://github.com/u8slvn/oh-my-zsh-workbench-theme
- Owner: u8slvn
- License: mit
- Created: 2016-05-14T12:20:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T17:48:20.000Z (over 3 years ago)
- Last Synced: 2025-04-25T01:55:46.222Z (7 months ago)
- Topics: oh-my-zsh, oh-my-zsh-theme, zsh-theme
- Language: Shell
- Size: 32.2 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - workbench - Includes `git` status decorations, working directory, exit status of last command and current `virtualenv`. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - workbench - Includes `git` status decorations, working directory, exit status of last command and current `virtualenv`. (Themes / ZSH on Windows)
- awesome-zsh-plugins - workbench - Includes `git` status decorations, working directory, exit status of last command and current `virtualenv`. (Themes / Zinit (née zplugin))
README
# Workbench ⚒ Personnal theme for Oh My ZSH
A personal Oh My ZSH theme.
## Preview

## Installation
1. Download `workbench.zsh-theme` into `~/.oh-my-zsh/themes`
```shell
$ cd ~/.oh-my-zsh/themes
$ curl -O https://raw.githubusercontent.com/u8slvn/workbench-oh-my-zsh-theme/master/workbench.zsh-theme
```
2. Open `.zshrc` file and set `ZSH_THEME` to `workbench`
3. Reload ZSH
```shell
$ source ~/.zshrc
```
4. Watch for [customization options](#customization)
## Prompt status
* **⚙** : background job(s) working
* **✘** : previous command failed
## Git legend
#### Informations
* **±** : dirty working directory
* **✔** : clean working directory
#### Status
* **✚** : added file(s)
* **✖** : deleted file(s)
* **✸** : modified file(s)
* **✻** : untracked file(s)
* **➜** : renamed file(s)
* **⤔** : unmerged file(s)
## Customization
Workbench theme provides some customization options.
#### Use
Add this to your `.zshrc` file :
```
# Workbench theme customization
OMZSH_WORKBENCH_PROMPT_INLINE="false"
OMZSH_WORKBENCH_PROMPT_STATUS="true"
OMZSH_WORKBENCH_SHORT_PWD="false"
```
#### Details
* `OMZSH_WORKBENCH_PROMPT_INLINE`: display the prompt line on one line
* `OMZSH_WORKBENCH_PROMPT_STATUS`: hide the prompt status part
* `OMZSH_WORKBENCH_SHORT_PWD`: display only the working directory in the path
#### Customization example
1. `OMZSH_WORKBENCH_SHORT_PWD="true"`

2. `OMZSH_WORKBENCH_PROMPT_INLINE="true"`
