Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh-completion: complete makechrootpkg arguments after *-build -- #56

Closed
wants to merge 1 commit into from
Closed

zsh-completion: complete makechrootpkg arguments after *-build -- #56

wants to merge 1 commit into from

Conversation

yan12125
Copy link
Contributor

I'm motivated to create this as I often type extra-x86_64-build -- -I xxx.pkg.tar.zst, and unable to completing the package filename is annoying.

Note that I'm far from a talented zsh programmar. This patch works for me and I didn't see other issues for some time, but there might be hidden bugs.

Demonstration:

$ extra-x86_64-build -- -
-D  -- Bind directory into build chroot as read-only
-I  -- Install a package into the working copy
-T  -- Build in a temporary directory
-U  -- Run makepkg as a specified user
-c  -- Clean the chroot before building
-d  -- Bind directory into build chroot as read-write
-h  -- Display usage
-l  -- The directory to use as the working copy
-n  -- Run namcap on the package
-r  -- The chroot dir to use
-u  -- Update the working copy of the chroot before building

@anthraxx
Copy link
Member

anthraxx commented Jul 1, 2021

applied via 66bbddc8c2da82035e6520541f654ddb84039756 thanks

@anthraxx anthraxx closed this Jul 1, 2021
@yan12125 yan12125 deleted the zsh-completion-archbuild branch July 1, 2021 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants