1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-21 23:38:49 -05:00

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>
This commit is contained in:
Eli Schwartz 2016-09-01 23:40:26 -04:00 committed by Allan McRae
parent fac4831a09
commit 38e229e4db

View File

@ -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')