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 autocompletion for -U option shows non-package files #642

Open
roussak opened this issue Mar 28, 2022 · 0 comments
Open

zsh autocompletion for -U option shows non-package files #642

roussak opened this issue Mar 28, 2022 · 0 comments

Comments

@roussak
Copy link

roussak commented Mar 28, 2022

$ pikaur -Vq
Pikaur v1.10.1.r66.g7cc87b9
Pacman v6.0.1 - libalpm v13.0.1 - pyalpm v0.10.6
Description:

pikaur's autocompletion for the zsh suggests non-package files for the -U option.

pacman suggests these files:

~/src/xorg-server $  sudo pacman -U xorg-server-<Tab key was pressed here>
completing package file
xorg-server-21.1.3-6.1-x86_64.pkg.tar.zst         xorg-server-xephyr-21.1.3-6.1-x86_64.pkg.tar.zst
xorg-server-common-21.1.3-6.1-x86_64.pkg.tar.zst  xorg-server-xnest-21.1.3-6.1-x86_64.pkg.tar.zst 
xorg-server-debug-21.1.3-6.1-x86_64.pkg.tar.zst   xorg-server-xvfb-21.1.3-6.1-x86_64.pkg.tar.zst  
xorg-server-devel-21.1.3-6.1-x86_64.pkg.tar.zst

while pikaur does the following:

~/src/xorg-server $  pikaur -U xorg-server-<Tab key was pressed here>
completing package file
xorg-server-21.1.3-6.1-x86_64.pkg.tar.zst         xorg-server-devel-21.1.3-6.1-x86_64.pkg.tar.zst 
xorg-server-21.1.3.tar.xz                         xorg-server-xephyr-21.1.3-6.1-x86_64.pkg.tar.zst
xorg-server-21.1.3.tar.xz.sig                     xorg-server-xnest-21.1.3-6.1-x86_64.pkg.tar.zst 
xorg-server-common-21.1.3-6.1-x86_64.pkg.tar.zst  xorg-server-xvfb-21.1.3-6.1-x86_64.pkg.tar.zst  
xorg-server-debug-21.1.3-6.1-x86_64.pkg.tar.zst
@roussak roussak changed the title pikaur's zsh autocompletion for -U option shows non-package files zsh autocompletion for -U option shows non-package files Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants