Merged
Conversation
faho
reviewed
Jul 5, 2021
| complete -c zef -n __fish_is_first_token -s h -l help -f -d 'Display help text' | ||
| complete -c zef -n __fish_is_first_token -l version -f -d 'Detailed version information' | ||
| complete -c zef -n 'not __fish_is_first_token' -l config-path -d 'Load a specific Zef config file' | ||
| complete -c zef -n '__fish_seen_argument -l config-path' -x -k -a '(__fish_complete_suffix)' |
Member
There was a problem hiding this comment.
Which suffix?
If you just want file completions, use -F/--force-files.
Contributor
Author
There was a problem hiding this comment.
I tried that first, but it doesn't seem to work. Maybe because of complete -c zef -f. I tried different different combinations, and this was the only thing that worked for me.
Contributor
Author
There was a problem hiding this comment.
Hmm, I tried -F again with -r on --config-path and it seemed to work, this time! Will try it on other similar options.
Contributor
Author
There was a problem hiding this comment.
OK, it worked on all, but one:
complete -c zef -n '__fish_seen_subcommand_from install test build' -k -a '(__fish_complete_suffix)'I don't know if there is another way.
Member
There was a problem hiding this comment.
Does
complete -c zef -n '__fish_seen_subcommand_from install test build' -Fnot work?
Contributor
Author
There was a problem hiding this comment.
No. At least, not for me.
faho
reviewed
Jul 5, 2021
faho
reviewed
Jul 5, 2021
faho
reviewed
Jul 5, 2021
faho
reviewed
Jul 5, 2021
faho
reviewed
Jul 5, 2021
[zef](https://github.com/ugexe/zef) is a module manager for [Raku](https://raku.org/) programming language.
Member
|
Merged, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
zef is a module manager for Raku programming language.