"snippet" functionality in zimfw? #560
Unanswered
FromCreator
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @FromCreator. Yes, this can be achieved with I agree this cumbersome and I've been considering having a separate way of managing a single file (that is not a whole module but just a file that is either sourced, added to fpath or also autoloaded). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'd like to install completions in zim from this file https://github.com/danielmiessler/fabric/blob/main/completions/_fabric and download nothing else from this repository. Zmodule seems to only look for a git repository and nothing else at the given link, and I can't be certain, but I don't want to download a whole branch of the git repo for a single file. In zinit/zcomet it is as simple as
zinit snippet https://...orzcomet snippet https://...to get a single file from a repo but I cannot figure out how to accomplish the same thing in zimfw.Update, I just had a thought:
Could this be achieved by setting
--use mkdirand then--cmd 'curl https://...'? If so, then how would--fpathbe set?Beta Was this translation helpful? Give feedback.
All reactions