Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamdodev/adamdodev-zsh-theme
Theme and prompt for oh-my-zsh
https://github.com/adamdodev/adamdodev-zsh-theme
Last synced: about 2 months ago
JSON representation
Theme and prompt for oh-my-zsh
- Host: GitHub
- URL: https://github.com/adamdodev/adamdodev-zsh-theme
- Owner: adamdodev
- License: unlicense
- Created: 2019-04-03T16:51:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T09:51:14.000Z (over 4 years ago)
- Last Synced: 2024-01-25T17:37:56.709Z (4 months ago)
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - adamdodev - Includes decorators for `git` status, the name of your AWS profile, the name of your Azure Service Principal, kubernetes context, terraform workspace, last command exit status and current working directory. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - adamdodev - Includes decorators for `git` status, the name of your AWS profile, the name of your Azure Service Principal, kubernetes context, terraform workspace, last command exit status and current working directory. (Themes / ZSH on Windows)
- awesome-zsh-plugins - adamdodev - Includes `git` status decorations, name of your AWS profile, name of your Azure Service Principal, kubernetes context, terraform workspace, command status and current working directory. (Themes / Zinit (née zplugin))
- awesome-zsh-plugins - adamdodev - Includes decorators for `git` status, the name of your AWS profile, the name of your Azure Service Principal, kubernetes context, terraform workspace, last command exit status and current working directory. (Themes / ZSH on Windows)
README
# adamdodev-zsh-theme
Theme and prompt for oh-my-zsh.
![Screenshot](https://raw.githubusercontent.com/adamdodev/adamdodev-zsh-theme/master/screenshot.png)
Features:
- Previous command status
- Current working directory
- Git branch
- AWS Profile name (via `$AWS_SWITCH_PROFILE` env var)
- Azure Subscription name (via `$AZ_SUBSCRIPTION_ALIAS` env var)
- Kubernetes context (via `kubectl config current-context`)
- Terraform Workspace (via `terraform workspace show`)
- A lorra lorra spacing## Install
1. Copy in to `~/.oh-my-zsh/themes/`
1. Update theme in `~/.zshrc`: `ZSH_THEME="adamdodev"`
1. (Optional) Configure `~/.adamdodev-zsh-theme` (see below)
1. Set your `$AWS_PROFILE_SWITCH` and `$AZ_SUBSCRIPTION_ALIAS` env vars## Configure
You can switch off sections of the right-hand prompt by creating a `~/.adamdodev-zsh-theme` config file and setting the appropriate vars to `false`, e.g.:
```
aws_profile=true
az_subscription=false
k8s_context=false
tf_workspace=true
```