fix: asdf_prompt

This commit is contained in:
James Walker 2020-09-11 17:11:13 -04:00
parent e604d14d47
commit a524a73b1e
Signed by: walkah
GPG Key ID: 3C127179D6086E93

View File

@ -4,7 +4,7 @@ if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
function asdf_prompt() {
echo $(asdf current $1|awk '{print $1}')
echo $(asdf current $1|awk '{print $2}')
}
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:$(shrink_path -f) $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '