An open API service indexing awesome lists of open source software.

https://github.com/dozyio/terraform-bash-workspace-prompt

Display the terraform workspace in bash prompt - with colours for prod & dev workspaces
https://github.com/dozyio/terraform-bash-workspace-prompt

Last synced: about 1 month ago
JSON representation

Display the terraform workspace in bash prompt - with colours for prod & dev workspaces

Awesome Lists containing this project

README

          

# Terraform Workspace Prompt for Bash

Show which workspace you are using within your bash prompt. Colour coded for dev, production & other workspaces - easy to extend to other environments.

[![asciicast](https://asciinema.org/a/351587.svg)](https://asciinema.org/a/351587?autoplay=1)

# Install
```sh
mkdir ~/.bash_scripts
cd ~/.bash_scripts
wget https://raw.githubusercontent.com/dozyio/terraform-bash-workspace-prompt/master/terraform-bash-workspace-prompt.sh

echo "[[ -r \"~/.bash_scripts/terraform-bash-workspace-prompt.sh\" ]] && . \"~/.bash_scripts/terraform-bash-workspace-prompt.sh\"" >> ~/.bash_profile
```