https://github.com/andres-ortizl/ortiz-zsh-theme
https://github.com/andres-ortizl/ortiz-zsh-theme
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andres-ortizl/ortiz-zsh-theme
- Owner: andres-ortizl
- License: mit
- Created: 2021-08-29T13:34:37.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T22:04:35.000Z (almost 3 years ago)
- Last Synced: 2025-04-05T11:11:30.848Z (8 months ago)
- Language: Shell
- Size: 159 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-zsh-plugins - ortiz (andres-ortizl) - Fork of [eriner](https://github.com/zimfw/eriner) with decorations for the interval between commands and k8s context. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - ortiz (andres-ortizl) - Fork of <b><code> 22⭐</code></b> <b><code> 16🍴</code></b> [eriner](https://github.com/zimfw/eriner)) with decorations for the interval between commands and k8s context. (Themes / ZSH on Windows)
README
Smiley
A fork of the [eriner](https://github.com/zimfw/eriner) theme.
I just wanted to make the theme more simpler and also add the feature for measuring the elapsed time between commands
and the k8s context in case I've my `KUBECONFIG` var set.
### home

### basic git

### error

### virtualenv

### k8s context-namespace

### virtualenv + k8s

## Configuration
| Variable | Description | Default value |
|---------------------------|-------------------------------------------------------------------------------------------------------|---------------|
| `STATUS_COLOR` | Status segment color | 140 |
| `PWD_COLOR` | Working directory segment color | 140 |
| `CLEAN_COLOR` | Clean `git` working tree segment color | 191 |
| `DIRTY_COLOR` | Dirty `git` working tree segment color | 220 |
| `SEP` | Separator for the status segments | ▲ |
| `FULL_PATH_VIRTUAL_ENV` | I usually don't care about the full path or name of the virtualenv, if you want the name put a 1 here | 0 |
| `KUBERNETES_COLOR_PROMPT` | Kubernetes context-namespace color. I'm using `kubens` & `kubectx` | 033 |
| `SHOW_ARCH` | Show the architecture of the machine | 0 |
There's a function called `print_available_colors` if you want to check the available colors
## Installation with zim
Add this line in your `~/.zimrc` file:
```zsh
zmodule https://github.com/andres-ortizl/ortiz-zsh-theme.git --name ortiz
```