summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2016-09-01 23:40:26 -0400
committerAllan McRae <allan@archlinux.org>2016-09-03 20:38:13 +1000
commit38e229e4dbcfe2aacbf9c5414432407f4f73bfc1 (patch)
tree8382fc5fccd9b6585f3795f918e9422bba99218d
parentfac4831a091eda447780d5d1e1e572b14ebb0338 (diff)
downloadpacman-38e229e4dbcfe2aacbf9c5414432407f4f73bfc1.tar.xz
bash-completion: fix leaking "files" array into shell environment
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--contrib/bash_completion.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index 6f99681d..06963c42 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')