aboutsummaryrefslogtreecommitdiffstats
path: root/completion/arch-chroot.bash
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-08-11 18:42:40 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2021-08-11 18:42:40 -0400
commita895e76831f95063674a03cd13d153bcc94212b6 (patch)
tree7cceb6c15abe2ecbed01453e43cfe78d475d5d79 /completion/arch-chroot.bash
parente60738a060ea0bb6e532b69add05db7b697462af (diff)
parentf922fa446f9893e571bf038c5e2d2520837c9814 (diff)
Update upstream source from tag 'upstream/24'
Update to upstream version '24' with Debian dir 593973476c4a6f4d1408593dbeaa4a01ea8129a2
Diffstat (limited to 'completion/arch-chroot.bash')
-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