forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
steamguard-cli: add shell completions
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
c2df2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I'm not sure if this is the correct way to add completions. I've tried to install it with your additions on my machine, but it seems to not work. What could I miss? Otherwise, I would like to add your changes to my branch.
c2df2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there! I did not test it for shells other than zsh so I didn't catch this, sorry. For bash completion the file needs to have the same name as the command I think, which is probably why
vcompletion
has an optional command name argument (the installed completion defaults to package name if omitted), while for zsh it doesn't seem to be a requirement (not sure about fish shell).vcompletion completion.${shell} ${shell} steamguard
should be the correct command, I'll amend my commit. Thank you for following up on this.c2df2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New commit: dab9a00
c2df2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, the package is now merged into master. Thanks for the contribution.