-
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
zpool <TAB> completion only works after running zfs <TAB> #16320
Labels
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
Related downstream bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074597 |
Harry-Chen
added a commit
to Harry-Chen/zfs
that referenced
this issue
Jul 22, 2024
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 <[email protected]>
13 tasks
Harry-Chen
added a commit
to Harry-Chen/zfs
that referenced
this issue
Jul 22, 2024
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 <[email protected]>
Harry-Chen
added a commit
to Harry-Chen/zfs
that referenced
this issue
Aug 3, 2024
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 <[email protected]>
Harry-Chen
added a commit
to Harry-Chen/zfs
that referenced
this issue
Aug 3, 2024
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 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Describe the problem you're observing
I noticed that the
zpool <TAB>
completion does not work until after one has already runzfs <TAB>
.This seems to be due to the fact that
/usr/share/bash-completion/completions/zpool
does not exist but/usr/share/bash-completion/completions/zfs
does.A simple "fix" that worked for me is to symlink
/usr/share/bash-completion/completions/zfs
to/usr/share/bash-completion/completions/zpool
orsource
ing the/usr/share/bash-completion/completions/zfs
file.Describe how to reproduce the problem
zpool
and pressTAB
zfs
and pressTAB
zpool
and pressTAB
1
and3
.Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: