mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 18:08:34 -07:00
510d90749f
* 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
8 lines
195 B
Bash
8 lines
195 B
Bash
function tf_prompt_info() {
|
|
# check if in terraform dir
|
|
if [ -d .terraform ]; then
|
|
workspace=$(terraform workspace show 2> /dev/null) || return
|
|
echo "[${workspace}]"
|
|
fi
|
|
}
|