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

Holding enter crashes on macOS #289

Open
jedahan opened this issue Dec 28, 2019 · 7 comments
Open

Holding enter crashes on macOS #289

jedahan opened this issue Dec 28, 2019 · 7 comments

Comments

@jedahan
Copy link
Member

jedahan commented Dec 28, 2019

From #286 (comment)

@jedahan
Copy link
Member Author

jedahan commented Dec 28, 2019

If I hold the ENTER key in git repository, it give zsh: error on TTY read: Input/output error and crash.
OS X, zsh version 5.7.1

What version of OS X and what terminal? Can you post your entire ~/.zshrc and perhaps test with a more minimal version, like

# ~/.zshrc
test -d ~/.geometry || git clone https://github.com/geometry-zsh/geometry.git ~/.geometry
source ~/.geometry/geometry.zsh

Can you reproduce the issue with that setup? I'm having difficulty getting the same error.

@jedahan
Copy link
Member Author

jedahan commented Jan 13, 2020

@j16sdiz I don't have a machine I can reproduce with, is this still an issue?

@vyorkin
Copy link

vyorkin commented Aug 9, 2020

I'm using geometry v2.2.0. Looks like it is still an issue. I'm on NixOS 20.03, which is not FHS compliant (it that makes any difference). My terminal is Kitty v0.18.2. Geometry v2.1.0 has this issue as well with the same error message, but in Geometry v2.0.0 it shows up as:

geometry::rprompt:2: can't clobber parameter PCFD containing file descriptor 11 

AFAI remember the previous version of geometry (v1.x.x) didn't have this issue.

Please note that I'm using a few other zsh plugins that might be the cause of a problem https://github.com/vyorkin/nixos-config/blob/master/home/zsh.nix#L36

And thank you for Geometry. I'm using it for the last couple of years and I'm very happy with it ;)

@jedahan
Copy link
Member Author

jedahan commented Aug 10, 2020

can you post the output of setopt ?

it is possible someone else is using PCFD or the handle for it.

Is there a quick tutorial where i could reproduce your setup in a nice chroot or OCI image?

@jedahan jedahan reopened this Aug 10, 2020
@vyorkin
Copy link

vyorkin commented Aug 10, 2020

alwaystoend
autocd
autopushd
nobeep
nobgnice
nocaseglob
cdablevars
chaselinks
noclobber
completealiases
completeinword
correct
extendedglob
globcomplete
globdots
nohistbeep
histexpiredupsfirst
histfcntllock
histignorealldups
histignoredups
histreduceblanks
histverify
nohup
incappendhistory
interactive
nolistbeep
monitor
nonomatch
pushdignoredups
pushdsilent
pushdtohome
sharehistory
shinstdin
zle
  1. What is PCDF?
  2. I don't have a fully reproducible repository, but here is my zsh-config files: https://github.com/vyorkin/zshrc + my set of plugins (there are commit hashes, so theoretically you should be able to reproduce my environment): https://github.com/vyorkin/nixos-config/blob/master/home/zsh.nix#L36

Please tell me if you need more info

@jedahan
Copy link
Member Author

jedahan commented Aug 10, 2020

interesting - so PCFD we don't use anymore, maybe you are on an outdated geometry? version 2.0.3 we renamed PCFD to GEOMETRY_ASYNC_FD - its just the variable we use to help signal async stuff. Definitely could be a conflict with other projects.

@vyorkin
Copy link

vyorkin commented Aug 10, 2020

I'm using geometry from this rev: d78d0daab3e16d19043fd225fe30bf38de3b33ad (v2.2.0)
Yeah, I'll double-check everything and get back

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

2 participants