sunlei / zsh-ssh

Better host completion for ssh in Zsh.
MIT License
143 stars 32 forks source link

fzf-complete-ssh:zle:49: widgets can only be called when ZLE is active #7

Open cocoonkid opened 1 year ago

cocoonkid commented 1 year ago

fzf-complete-ssh:zle:49: widgets can only be called when ZLE is active

I am getting this error all the time and am not able to fix it so far.

All other plugins and widgets work so it might be a small bug in my edge case?

zsh 5.9 (x86_64-pc-linux-gnu)

boerngen-schmidt commented 9 months ago

Hi @cocoonkid

please have a look at https://superuser.com/questions/1768820/how-to-activate-zle-zsh-line-editor and https://stackoverflow.com/questions/20357441/zsh-on-10-9-widgets-can-only-be-called-when-zle-is-active

Basically you need to run zmodload zsh/zle. This is an issue with your zsh configuration!