pikaur
pikaur copied to clipboard
zsh autocompletion for -U option shows non-package files
$ 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