diff options
-rw-r--r-- | zsh/themes/prompt_kyrias_setup | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/zsh/themes/prompt_kyrias_setup b/zsh/themes/prompt_kyrias_setup index 27c6445..9100f83 100644 --- a/zsh/themes/prompt_kyrias_setup +++ b/zsh/themes/prompt_kyrias_setup @@ -4,17 +4,9 @@ kyrias' prompt. EOF } -prompt_user_color() { - if (( ! UID )); then - print "red" - else - print "black" - fi -} - venv_prompt() { if [[ -n "$VIRTUAL_ENV" ]]; then - print -Pn '%{$bg[blue]$fg[white] ${VIRTUAL_ENV##*/} %f%k%}' + print -Pn '(${VIRTUAL_ENV##*/}) ' fi } @@ -22,8 +14,7 @@ prompt_kyrias_setup() { setopt prompt_subst autoload -U colors && colors - PROMPT='%{$bg[$(prompt_user_color)]$fg[white] %m %k%f$bg[white]$fg[$(prompt_user_color)] %~ %f%k$(venv_prompt)%} -%{$bg[blue]%} λ %k %}' + PROMPT='%m:%~ $(venv_prompt)%}λ ' } prompt_kyrias_preview() { |