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 38e229e4db
)
This commit is contained in:
parent
5a7204ee18
commit
9e3aeb30d3
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ _pacman_pkg() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_pacman() {
|
_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=()
|
COMPREPLY=()
|
||||||
_get_comp_words_by_ref cur prev
|
_get_comp_words_by_ref cur prev
|
||||||
database=('asdeps asexplicit')
|
database=('asdeps asexplicit')
|
||||||
|
|
Loading…
Add table
Reference in a new issue