Skip to content

Commit

Permalink
Fix path to openconnect in bash completion
Browse files Browse the repository at this point in the history
Oops, that wasn't supposed to get committed like that.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
dwmw2 committed May 2, 2020
1 parent 72364c8 commit 7eba845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash/openconnect.bash
Expand Up @@ -79,7 +79,7 @@ _complete_openconnect () {
#_get_comp_words_by_ref-n =: -w COMP_WORDS -i COMP_CWORD cur
COMP_WORDS[0]="--autocomplete"
local IFS=$'\n'
COMPREPLY=( $(COMP_CWORD=$COMP_CWORD /home/dwmw/git/openconnect/gtls-ibm/openconnect "${COMP_WORDS[@]}") )
COMPREPLY=( $(COMP_CWORD=$COMP_CWORD openconnect "${COMP_WORDS[@]}") )
local FILTERPAT="${COMPREPLY[1]}"
local PREFIX="${COMPREPLY[2]}"
local COMP_WORD=${cur#${PREFIX}}
Expand Down

0 comments on commit 7eba845

Please sign in to comment.