fix: asdf_prompt
This commit is contained in:
parent
e604d14d47
commit
a524a73b1e
@ -4,7 +4,7 @@ if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
|
|||||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
||||||
function asdf_prompt() {
|
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%} '
|
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:$(shrink_path -f) $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user