[pacman-dev] [PATCH] bash-completion: fix leaking "files" array into shell environment

Eli Schwartz eschwartz93 at gmail.com
Fri Sep 2 03:40:26 UTC 2016


Signed-off-by: Eli Schwartz <eschwartz93 at gmail.com>
---
This time with a signoff...

 contrib/bash_completion.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index 6f99681..06963c4 100644
--- a/contrib/bash_completion.in
+++ b/contrib/bash_completion.in
@@ -97,7 +97,7 @@ _pacman_pkg() {
 }
 
 _pacman() {
-  local common core cur database prev query remove sync upgrade o
+  local common core cur database files prev query remove sync upgrade o
   COMPREPLY=()
   _get_comp_words_by_ref cur prev
   database=('asdeps asexplicit')
-- 
2.9.3


More information about the pacman-dev mailing list