Merge remote-tracking branch 'origin/github/pr/109'
authorMichael Prokop <mika@grml.org>
Sat, 27 Jun 2020 08:45:00 +0000 (10:45 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 27 Jun 2020 08:45:00 +0000 (10:45 +0200)
etc/zsh/zshrc

index 2690cfd..1d161d7 100644 (file)
@@ -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 () {