Code Monkey home page Code Monkey logo

Comments (7)

jedahan avatar jedahan commented on July 3, 2024

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.

from geometry.

jedahan avatar jedahan commented on July 3, 2024

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

from geometry.

vyorkin avatar vyorkin commented on July 3, 2024

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 ;)

from geometry.

jedahan avatar jedahan commented on July 3, 2024

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?

from geometry.

vyorkin avatar vyorkin commented on July 3, 2024
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

from geometry.

jedahan avatar jedahan commented on July 3, 2024

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.

from geometry.

vyorkin avatar vyorkin commented on July 3, 2024

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

from geometry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.