Logo
Explore Help
Sign In
gaspersic/ohmyzsh
1
0
Fork 0
You've already forked ohmyzsh
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
a1448e9f8a62164caae47a2f48f9c9766c1eaa60
ohmyzsh/plugins/terraform/terraform.plugin.zsh

8 lines
195 B
Bash
Raw Normal View History

Fix the terraform function name (#6418) * Fix the terraform function name Current function name do worse. I always use `terr<TAB>` and before those prompt it was add space in the end. Now because we have multiple functions and binaries started with terraform there are no space. * Updated terraform readme Updated the name of new function name
2017-11-14 15:36:22 +01:00
function tf_prompt_info() {
Plugins: Terraform (#6373) Expanded Terraform plugin with function that can be used to show workspace name in the zsh prompt
2017-11-07 16:45:25 +01:00
# check if in terraform dir
if [ -d .terraform ]; then
workspace=$(terraform workspace show 2> /dev/null) || return
echo "[${workspace}]"
fi
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 194ms Template: 16ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API