From f1935b735071966288a9cf032e7ac01c70f37c62 Mon Sep 17 00:00:00 2001 From: Pandu POLUAN Date: Thu, 14 Mar 2024 15:09:47 +0700 Subject: [PATCH] BUGFIX: Also remove 'ssh' from term title Accidentally removed 'ssh' from the set of commands to strip out. --- lib/termsupport.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}%<<"