mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01: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
7 lines
195 B
Bash
7 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
|
|
}
|