aboutsummaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-08-11 18:42:37 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2021-08-11 18:42:37 -0400
commitf922fa446f9893e571bf038c5e2d2520837c9814 (patch)
tree508afe02ab343df45f95832388336d0aad5e5030 /completion
parente1f5028f2c3adc68d125ddcdb290a34b03bc6809 (diff)
New upstream version 24.upstream/24
Diffstat (limited to 'completion')
-rw-r--r--completion/arch-chroot.bash6
1 files changed, 2 insertions, 4 deletions
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