Workbench ⚒ Personnal theme for Oh My ZSH
July 26, 2022 · View on GitHub
A personal Oh My ZSH theme.
Preview

Installation
-
Download
workbench.zsh-themeinto~/.oh-my-zsh/themes$ cd ~/.oh-my-zsh/themes $ curl -O https://raw.githubusercontent.com/u8slvn/workbench-oh-my-zsh-theme/master/workbench.zsh-theme -
Open
.zshrcfile and setZSH_THEMEtoworkbench -
Reload ZSH
$ source ~/.zshrc -
Watch for customization options
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 lineOMZSH_WORKBENCH_PROMPT_STATUS: hide the prompt status partOMZSH_WORKBENCH_SHORT_PWD: display only the working directory in the path
Customization example
-
OMZSH_WORKBENCH_SHORT_PWD="true"
-
OMZSH_WORKBENCH_PROMPT_INLINE="true"