-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
contrib: link zpool to zfs in bash-completion #16376
Conversation
733afda
to
c249fd1
Compare
Can we get more more reviewer on this PR? |
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.
It hardly matters, and I have no real opinion nor any idea what good practice is for completion scripts, but:
Would it be better to install this as a hard link instead of a symlink, or even a whole separate copy of the file?
I look at |
Works for me, thanks for checking 👍 |
For some reason the Centos and Fedora builders were failing. I just started a re-run of those tests. If all goes well I will merge the PR. |
There is an error
Sorry for not finding such situation, I will fix it soon. |
c249fd1
to
24a9b53
Compare
Currently user won't have completion of `zpool` command until they trigger completion of `zfs` first. This patch adds a link to `zfs`, thus user can use both to initialize the completion. Fixes: openzfs#16320 Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
24a9b53
to
633def7
Compare
The building issue is now fixed. @tonyhutter |
Currently user won't have completion of `zpool` command until they trigger completion of `zfs` first. This patch adds a link to `zfs`, thus user can use both to initialize the completion. Fixes: openzfs#16320 Signed-off-by: Shengqi Chen <harry-chen@outlook.com> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Motivation and Context
Currently user won't have completion of
zpool
command until they trigger completion ofzfs
first. This patch adds a link tozfs
, thus user can use both to initialize the completion.Fixes: #16320
Description
Create a symlink to
zfs
aszpool
undercontrib/bash_completion.d
.How Has This Been Tested?
Tested the whole configuration, compilation and installation process. It wors as expected. No other functionality is affected.
Types of changes
Checklist:
Signed-off-by
.