diff options
-rw-r--r-- | zsh/themes/prompt_kyrias_setup | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zsh/themes/prompt_kyrias_setup b/zsh/themes/prompt_kyrias_setup index c53d762..a697b24 100644 --- a/zsh/themes/prompt_kyrias_setup +++ b/zsh/themes/prompt_kyrias_setup @@ -14,7 +14,7 @@ prompt_user_color() { venv_prompt() { if [[ -n "$VIRTUAL_ENV" ]]; then - print -P '%{$bg[blue]$fg[white] ${VIRTUAL_ENV##*/} %f%k%}' + print -Pn '%{$bg[blue]$fg[white] ${VIRTUAL_ENV##*/} %f%k%}' fi } @@ -35,8 +35,8 @@ prompt_kyrias_setup() { add-zsh-hook precmd prompt_kyrias_precmd add-zsh-hook preexec prompt_kyrias_preexec - PROMPT='%{$bg[$(prompt_user_color)]$fg[white] %m %k%f$bg[white]$fg[$(prompt_user_color)] %~ %f%k$(venv_prompt) -$bg[blue]%} λ %k %}' + PROMPT='%{$bg[$(prompt_user_color)]$fg[white] %m %k%f$bg[white]$fg[$(prompt_user_color)] %~ %f%k$(venv_prompt)%} +%{$bg[blue]%} λ %k %}' } prompt_kyrias_preview() { |