summaryrefslogtreecommitdiff
path: root/themes/dst.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-03-25 17:05:50 +0100
committerMarc Cornellà <marc.cornella@live.com>2019-03-25 17:05:50 +0100
commite59cc94805ebe76b0eb57de0b84e403583ebd4db (patch)
tree1af7d9c231beb9ea85f976e555ca0a0e6baec09e /themes/dst.zsh-theme
parentc56fa996e7cb1500dca97723d525e4c97af33c75 (diff)
downloadzsh-e59cc94805ebe76b0eb57de0b84e403583ebd4db.tar.gz
zsh-e59cc94805ebe76b0eb57de0b84e403583ebd4db.tar.bz2
zsh-e59cc94805ebe76b0eb57de0b84e403583ebd4db.zip
themes: fix prompt verbosity on window resize
%_ is a prompt expansion sequence that expands to the status of the parser. This means that on window resize, the status of the execution of the window resize hook (TRAPWINCH) would be displayed while reloading the prompt line. This looked like cmdand cursh$ or then$ depending on the body of the TRAPWINCH function. Fixes #7262
Diffstat (limited to 'themes/dst.zsh-theme')
-rw-r--r--themes/dst.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/dst.zsh-theme b/themes/dst.zsh-theme
index 3e2539d57..6b2f8767d 100644
--- a/themes/dst.zsh-theme
+++ b/themes/dst.zsh-theme
@@ -11,6 +11,6 @@ function prompt_char {
PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
)
%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
-%_ $(prompt_char) '
+$(prompt_char) '
RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'