X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=1d161d7215e0b543bf481f722cc8a81e6be09843;hp=2690cfdfb427810a7e1dc9cbb0f51c958d858090;hb=401702af1f88b1081da095cd02c9681049186d63;hpb=ab6ee57484507c0a3b7a4cb7c3721c41553353f8 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2690cfd..1d161d7 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2478,6 +2478,9 @@ else function precmd () { (( ${+functions[vcs_info]} )) && vcs_info; } fi +# make sure to use right prompt only when not running a command +is41 && setopt transient_rprompt + # Terminal-title wizardry function ESC_print () {