Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelb/samshell
A minimalist zsh theme with git, kubernetes and python virtualenv decorations
https://github.com/samuelb/samshell
Last synced: about 1 month ago
JSON representation
A minimalist zsh theme with git, kubernetes and python virtualenv decorations
- Host: GitHub
- URL: https://github.com/samuelb/samshell
- Owner: samuelb
- License: mit
- Created: 2019-07-31T07:49:00.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T15:03:11.000Z (over 3 years ago)
- Last Synced: 2024-01-27T12:11:47.581Z (4 months ago)
- Homepage:
- Size: 398 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- awesome-zsh-plugins - samshell - A minimalist ZSH theme with `git`, kubernetes and python virtualenv decorations. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - samshell - A minimalist ZSH theme with `git`, kubernetes and python virtualenv decorations. (Themes / ZSH on Windows)
- awesome-zsh-plugins - samshell - A minimalist zsh theme with `git`, kubernetes and python virtualenv decorations. (Themes / Zinit (née zplugin))
- awesome-zsh-plugins - samshell - A minimalist ZSH theme with `git`, kubernetes and python virtualenv decorations. (Themes / ZSH on Windows)
README
# samshell
A minimalist zsh theme with Git, Kubernetes and Python virtualenv decorations.
![](demo.png)
## Features
- Show Kubernetes context and namespace
- Show current Git branch
- Indicates uncommited changes
- Indicates when a Python virtualenv is loaded
- Show the return code of the previous executed command
- Displays path relative to git root## Installation
### Manual
```
mkdir -p $ZSH_CUSTOM/themes`
wget -O $ZSH_CUSTOM/themes/samshell.zsh-theme https://raw.githubusercontent.com/samuelb/samshell/master/samshell.zsh-theme`
echo 'ZSH_THEME="samshell"' >> ~/.zshrc
```### With antigen
```
antigen theme samuelb/samshell
```### With zgen
```
zgen load samuelb/samshell samshell
```## Configuration
To disable the Kubernetes information, add `ZSH_SAMSHELL_KUBECTL_PROMPT=false` to
your .zshrc.## Credits
Originally, I took the "pi" theme from https://github.com/tobyjamesthomas/pi and modified it.