3e5de21dc5b71e332a1526ae14beb662a66d6e26

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Revert previous commit, escape %

Diff

 1diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh
 2index d3d8c967f3e4873fae61c9f33053629c4471f9a1..623bf1f0985fda297024cab089313ca7305c6e5e 100644
 3--- a/lib/termsupport.zsh
 4+++ b/lib/termsupport.zsh
 5@@ -27,7 +27,7 @@ function omz_termsupport_preexec {
 6   emulate -L zsh
 7   setopt extended_glob
 8   local CMD=${1[(wr)^(*=*|sudo|ssh|rake|-*)]} #cmd name only, or if this is sudo or ssh, the next cmd
 9-  local LINE='${2}'
10+  local LINE="${2:gs/%/%%}"
11   title "$CMD" '%100>...>$LINE%<<'
12 }
13