summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2016-09-01 23:40:26 -0400
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-08 23:27:42 -0400
commit9e3aeb30d360f3ed35d0291c99e88195c5709a73 (patch)
treeebd952829a5ca33a3e5a0996255403cc7fa98b03
parent5a7204ee1874c2d826578089a9b4abecff0d9dc1 (diff)
downloadpacman-9e3aeb30d360f3ed35d0291c99e88195c5709a73.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> (cherry picked from commit 38e229e4dbcfe2aacbf9c5414432407f4f73bfc1)
-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')