Commit 510d9074 authored by Michael Nikitochkin's avatar Michael Nikitochkin Committed by Robby Russell
Browse files

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
parent 2bd24f7e
...@@ -17,5 +17,5 @@ your .zsh-theme file and in a choosen place insert: ...@@ -17,5 +17,5 @@ your .zsh-theme file and in a choosen place insert:
``` ```
$FG[045]\ $FG[045]\
$(terraform_prompt_info)\ $(tf_prompt_info)\
``` ```
function terraform_prompt_info() { function tf_prompt_info() {
# check if in terraform dir # check if in terraform dir
if [ -d .terraform ]; then if [ -d .terraform ]; then
workspace=$(terraform workspace show 2> /dev/null) || return workspace=$(terraform workspace show 2> /dev/null) || return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment