diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 5b63a0f0d..0337b7695 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -98,7 +98,7 @@ function omz_termsupport_preexec { # cmd name only, or if this is doas/sudo or ssh, the next cmd local _subex zstyle -s ':omz' 'subexecutor' _subex - local CMD="${1[(wr)^(*=*|${_subex}|_|subex|mosh|rake|-*)]:gs/%/%%}" + local CMD="${1[(wr)^(*=*|${_subex}|_|subex|ssh|mosh|rake|-*)]:gs/%/%%}" local LINE="${2:gs/%/%%}" title "$CMD" "%100>...>${LINE}%<<"