Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 9 days 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 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T17:48:20.000Z (over 2 years ago)
- Last Synced: 2024-04-20T16:59:26.349Z (7 months ago)
- Topics: oh-my-zsh, oh-my-zsh-theme, zsh-theme
- Language: Shell
- Size: 32.2 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Workbench ⚒ Personnal theme for Oh My ZSH
A personal Oh My ZSH theme.
## Preview
![Short prompt](./images/workbench-theme.jpg)
## 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"`
![Short prompt](./images/workbench-theme-short-prompt.jpg)2. `OMZSH_WORKBENCH_PROMPT_INLINE="true"`
![Inline prompt](./images/workbench-theme-inline-prompt.jpg)