Showing content from https://github.com/devopsguy/ohelm-zsh-theme below:
devopsguy/ohelm-zsh-theme: A personal Oh My Zsh theme
Skip to content Navigation Menu
Search code, repositories, users, issues, pull requests...
Saved searches Use saved searches to filter your results more quickly
Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert devopsguy/ohelm-zsh-theme Just a custom Oh My Zsh prompt theme
This is mostly to save myself time in the future, but I might as well share it with others.
What this prompt shows (starting from the left)
- Shell privileges (% for user, # for root) ...
- Current user
- Directory path
- If inside a Git repository ...
- the currently checked out branch
- working tree status (dirty/clean)
- Return code of the last command
- Command prompt
- (to the right) current Kubernetes cluster context:namespace
For this prompt to work, you need the kube-ps1 plugin and Nerd Fonts.
- Install the aforementioned dependencies.
- Clone the repository to your favorite location. For me that is the home directory.
git clone https://github.com/devopsguy/ohelm-zsh-theme.git .custom
- Set the Zsh custom directory in your
.zshrc
Look for the ZSH_CUSTOM
variable and set it to your custom directory location.
ZSH_CUSTOM=$HOME/.custom
- Set the Zsh theme to use in your
.zshrc
Look for the ZSH_THEME
variable and set it to ohelm
.
ZSH_THEME="ohelm"
- Source (reload) your Zsh config.
omz reload
- Enjoy.
About
A personal Oh My Zsh theme
Resources License Stars Watchers Forks
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4