From 8fa7bde4da2a0040cd0367203069b461725a2347 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 10 Oct 2014 11:38:37 +0200 Subject: [PATCH] Fix incorrect index in the bash autocompletion script refs #7246 --- etc/bash_completion.d/icinga2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bash_completion.d/icinga2 b/etc/bash_completion.d/icinga2 index 425939210..75044b328 100644 --- a/etc/bash_completion.d/icinga2 +++ b/etc/bash_completion.d/icinga2 @@ -3,7 +3,7 @@ _icinga2() local cur opts opts="${COMP_WORDS[*]}" cur="${COMP_WORDS[COMP_CWORD]}" - COMPREPLY=($(icinga2 --autocomplete $COMP_CWORD ${COMP_WORDS[*]:1} < /dev/null)) + COMPREPLY=($(icinga2 --autocomplete $COMP_CWORD ${COMP_WORDS[*]} < /dev/null)) return 0 } -- 2.50.1