Coder Social home page Coder Social logo

Comments (12)

alichtman avatar alichtman commented on June 18, 2024 2

from zinit.

alichtman avatar alichtman commented on June 18, 2024 2

Regardless of the root cause, I think the right fix is to remove Unicode arrows from filenames. They cause more trouble than they're worth.

from zinit.

docwhat avatar docwhat commented on June 18, 2024 1

This is actually a known bug is zsh: https://www.zsh.org/mla/workers/2020/msg01058.html

from zinit.

ryaminal avatar ryaminal commented on June 18, 2024 1

In the end it was much more cumbersome to find all locations and i ended up just wiping zinit entirely.

i also stumbled upon this which explains why the arrow was used. i think it was hasty to remove the arrow entirely without understanding why it was there.

from zinit.

vladdoster avatar vladdoster commented on June 18, 2024

I don't think Unicode is the issue here

from zinit.

pschmitt avatar pschmitt commented on June 18, 2024

Why? Got a theory on that?

Edit: pretty much looks like a unicode issue to me.

echo hi > test.zsh
zcompile test.zsh
mv test.zsh 🤣.zsh
zcompile 🤣.zsh
zcompile: can't open file: 🤣.zsh

from zinit.

vladdoster avatar vladdoster commented on June 18, 2024

Did I think they already had Unicode in their name? Such as zinit-annex-patch-dl?

from zinit.

pschmitt avatar pschmitt commented on June 18, 2024

Did I think they already had Unicode in their name? Such as zinit-annex-patch-dl?

Most of them have one or more zsh files that contain a unicode arrow (→) in their name.

The obvious fix is to rename these files in the annex repos. This might be the cleaner way of handling this.

Is there anything preventing us from doing so? 🤔

from zinit.

pschmitt avatar pschmitt commented on June 18, 2024

👆 It has begun!

from zinit.

pschmitt avatar pschmitt commented on June 18, 2024

And now it's done! 🏆

from zinit.

ryaminal avatar ryaminal commented on June 18, 2024

this seems to have horked over a few of my zinit steps. error:

Updating Schniz/fnm…
Binary release already up to date (version: v1.28.1)
[update] Continuing with the update because run-atpull'' ice given.
No files for compilation found.
(eval):1: →za-patch-dl-handler: function definition file not found
(eval):1: →za-submods-atpull-handler: function definition file not found
(eval):1: →za-rust-atclone-handler: function definition file not found
(eval):1: →za-bgn-atclone-handler: function definition file not found

anyone know of a fix that doesn't include wiping my zinit install and starting it over?

from zinit.

pschmitt avatar pschmitt commented on June 18, 2024

Are you using the module?
Do you still have zwc files laying around in there?

Reinstalling zinit itself won't be needed here in, re-installing the annex might help though.

from zinit.

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.