mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
BUGFIX: Also remove 'ssh' from term title
Accidentally removed 'ssh' from the set of commands to strip out.
This commit is contained in:
parent
7cc5801b2b
commit
f1935b7350
1 changed files with 1 additions and 1 deletions
|
|
@ -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}%<<"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue