mirror of
https://github.com/KevinMidboe/dotfiles.git
synced 2025-10-29 17:40:19 +00:00
Added oh-my-zsh in all its glory
This commit is contained in:
7
.oh-my-zsh/plugins/terraform/terraform.plugin.zsh
Normal file
7
.oh-my-zsh/plugins/terraform/terraform.plugin.zsh
Normal file
@@ -0,0 +1,7 @@
|
||||
function tf_prompt_info() {
|
||||
# check if in terraform dir
|
||||
if [ -d .terraform ]; then
|
||||
workspace=$(terraform workspace show 2> /dev/null) || return
|
||||
echo "[${workspace}]"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user