Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpty: can't open pseudo terminal: no such file or directory #263

Closed
wzxu opened this issue Jan 8, 2019 · 6 comments
Closed

zpty: can't open pseudo terminal: no such file or directory #263

wzxu opened this issue Jan 8, 2019 · 6 comments
Assignees

Comments

@wzxu
Copy link

wzxu commented Jan 8, 2019

Was pretty excited to try out zsh with my prezto configs. Unfortunately there seems to be some problem causing zpty not working properly so I keep seeing errors of "can't open pseudo terminal" and "no such pty command":

img_0014

After some Googling I think it might be the same cause as this issue: sindresorhus/pure#117
As you can see there are also no /dev/ptyXX in ish but /dev/pts.

Any possibility this could be fixed? Or any workaround?

@tbodt
Copy link
Member

tbodt commented Jan 8, 2019

This makes 5 issues that will be solved once I implement ptys 😛

@SConaway
Copy link

Done?

@tbodt
Copy link
Member

tbodt commented Jan 23, 2019

You wouldn't get the same error, though I don't know if it would work.

@tbodt tbodt self-assigned this Jan 31, 2019
@tbodt
Copy link
Member

tbodt commented Feb 1, 2019

Seems to work, except VCS info doesn't show in the prompt. The bug preventing that is #164 I think.

@tbodt tbodt closed this as completed Feb 1, 2019
@rcdailey
Copy link

I'm following this guide for using ZSH on Windows via MINGW64. My .zshrc looks like this:

source ~/antigen.zsh
antigen use oh-my-zsh
antigen bundle mafredri/zsh-async
antigen bundle sindresorhus/pure
antigen bundle zsh-users/zsh-completions
antigen apply

I get these errors:

(zpty):zpty:12: can't open pseudo terminal: bad file descriptor
async_init:zpty:14: no such pty command: _async_test
/c/Users/robert/Nextcloud/Development/Home/Robert/.antigen/bundles/sindresorhus/pure/pure.zsh: line 566: prompt${^prompt_opts[@]}: bad substitution

Is it related to this issue?

@tbodt
Copy link
Member

tbodt commented Feb 13, 2019

@rcdailey I would recommend WSL for running zsh on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants