If I type ssh as the first word on the zsh command line, followed by a space, then any further letters that I type are repeated. So for example, if I try to type ssh remotehost what I get echoed back is ssh rreemmootteehhoosstt. Strangely, if the first word typed after ssh is a number the chars are not repeated until I type a ., e.g. if I try to type ssh 192.168.1.1 what I get is ssh 192..116688..11..11.
The problem is definitely with fsh because I can fix it by disabling the highlighting function like this: unfunction →chroma/-ssh.ch
Steps to reproduce
Start zsh and load fast-syntax-highlighting
Type ssh followed by a space, followed by any letter.
Describe the bug
If I type
ssh
as the first word on the zsh command line, followed by a space, then any further letters that I type are repeated. So for example, if I try to typessh remotehost
what I get echoed back isssh rreemmootteehhoosstt
. Strangely, if the first word typed afterssh
is a number the chars are not repeated until I type a.
, e.g. if I try to typessh 192.168.1.1
what I get isssh 192..116688..11..11
. The problem is definitely with fsh because I can fix it by disabling the highlighting function like this:unfunction →chroma/-ssh.ch
Steps to reproduce
ssh
followed by a space, followed by any letter.Expected behavior
Letters should not be repeated when typed.
Screenshots and recordings
No response
Operating System & Version
linux-gnu | ubuntu | x86_64 | x86_64 | x86_64 x86_64
Zsh version
5.8.1
Terminal emulator
xterm-kitty, and xterm (I tried both)
If using WSL on Windows, which version of WSL
No response
Additional context
I am using oh-my-zsh with several other plugins, but even after disabling all the other plugins the problem with fsh persists.