aboutsummaryrefslogtreecommitdiff
path: root/completion/bash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'completion/bash.patch')
-rw-r--r--completion/bash.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/completion/bash.patch b/completion/bash.patch
new file mode 100644
index 0000000..5dde344
--- /dev/null
+++ b/completion/bash.patch
@@ -0,0 +1,19 @@
+--- a/bash
++++ b/bash
+@@ -50,2 +50,3 @@
+- info list needed nodeps assume-installed print refresh recursive search sysupgrade'
+- 'c g i l p s u w y')
++ info list needed nodeps assume-installed print refresh recursive search sysupgrade
++ build keyserver noaur source'
++ 'c g i l n p s u w y z')
+@@ -64,1 +65,1 @@
+- ! $prev = --@(cachedir|color|config|dbpath|help|hookdir|gpgdir|logfile|root|version) ]]
++ ! $prev = --@(cachedir|color|config|dbpath|help|hookdir|gpgdir|keyserver|logfile|root|version) ]]
+@@ -81,1 +82,1 @@
+- _pacman_pkg Slq;;
++ _arch_compgen "`pakku -Ssq "$cur" 2> /dev/null`";;
+@@ -93,3 +94,1 @@
+-complete -F _pacman -o default pacman
+-complete -F _makepkg -o default makepkg
+-complete -F _pacman_key -o default pacman-key
++complete -F _pakku -o default pakku