Giter VIP home page Giter VIP logo

Comments (3)

jandamm avatar jandamm commented on August 17, 2024 1

@totoroot I tried a few things but I still haven't been able to reproduce this error.

In case your interested to test it, you'd find the code in $ZGEN_SOURCE/functions/zgenom-load.
It should match in line 112. So the issue is probably in __zgenom_path_contains in the same file.

I'm closing this issue for now. Feel free to reopen in case you found anything 😊

from zgenom.

jandamm avatar jandamm commented on August 17, 2024

Hey @totoroot,

thank you for reporting that issue.

First of all if a repository doesn't include any matching files you don't have to create/rename files.
You can just provide the filename as second parameter to load.

zgenom load zdharma/history-search-multi-word H-S-MW.plugin.zsh

I once had an example in the readme but I removed it to reduce confusion. 🤷‍♂️

Secondly I tested the repo and the file should be matched.
I guess you have different setopt than I have and one affects globbing. Which then leads to not finding anything for *.plugin.zsh.

Could you please run setopt in your terminal and paste the output into this issue so I can verify my idea and hopefully fix it without requiring you to specify filenames manually?

from zgenom.

totoroot avatar totoroot commented on August 17, 2024

Hi @jandamm and thanks for the prompt response and for providing a solution to my issue :)

Unfortunately I didn't think of just providing the filename as a second parameter to load.
With the ability to specify the filename, I consider it resolved, so feel free to close the issue.

It could indeed be due differences in globbing behaviour. Here's is my output of setopt:

autocd
autopushd
autoresume
nobeep
nobgnice
nocaseglob
cdablevars
nocheckjobs
combiningchars
completeinword
extendedglob
extendedhistory
histexpiredupsfirst
histfcntllock
histfindnodups
histignorealldups
histignoredups
histignorespace
histsavenodups
histverify
nohup
ignoreeof
incappendhistory
interactive
longlistjobs
monitor
nonomatch
pathdirs
promptsubst
pushdignoredups
pushdsilent
pushdtohome
rcquotes
sharehistory
shinstdin
zle

Thanks again!

from zgenom.

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.