From f922fa446f9893e571bf038c5e2d2520837c9814 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 11 Aug 2021 18:42:37 -0400 Subject: New upstream version 24. --- completion/arch-chroot.bash | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'completion/arch-chroot.bash') diff --git a/completion/arch-chroot.bash b/completion/arch-chroot.bash index 37fbf7c..707208a 100644 --- a/completion/arch-chroot.bash +++ b/completion/arch-chroot.bash @@ -1,9 +1,7 @@ _arch_chroot() { compopt +o dirnames - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" + local cur prev opts i + _init_completion -n : || return opts="-u -h" for i in "${COMP_WORDS[@]:1:COMP_CWORD-1}"; do -- cgit v1.2.3