Open avielsh opened 4 years ago
Just encountered this issue, bumping this with some more information.
On further trial, it appears that zpty
doesn't seem to work at all on cygwin? I'm not very familliar with zpty
or zsh
, but I would thing this would work:
zmodload zsh/zpty
zpty mytest 'echo hi'
But it doesn't?
zpty: can't open pseudo terminal: bad file descriptor
I also found this thread about zpty not working on zsh with cygwin, so maybe this is just a long running issue?
I don't really know were to begin, but any workarounds would be amazing.
Downgrading ZSH to v5.5.1 in Cygwin helped! Thanks @avielsh.
Describe the bug
Under cygwin x86_64/x86 After upgrading zsh from
5.5.1
to5.8.1
, and enablingZSH_AUTOSUGGEST_STRATEGY=(completion)
, I'm getting the following error after typing commands that trigger suggestions ( IE :ls<space>
)Happens with either
export ZSH_AUTOSUGGEST_USE_ASYNC=1
orunset ZSH_AUTOSUGGEST_USE_ASYNC
Reverting back to zsh v5.5.1 fixes the issue.
To Reproduce
Expected behavior
The standard completion suggestions
Desktop