Skip to content

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

Notifications You must be signed in to change notification settings

dozyio/terraform-bash-workspace-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

Install

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages