You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openconnect/0001-Fix-path-to-openconnec...

29 lines
1.0 KiB

From 7eba845059e8e373c59391b0520678ea833c6c76 Mon Sep 17 00:00:00 2001
From: David Woodhouse <dwmw2@infradead.org>
Date: Sat, 2 May 2020 09:25:29 +0100
Subject: [PATCH] Fix path to openconnect in bash completion
Oops, that wasn't supposed to get committed like that.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
bash/openconnect.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash/openconnect.bash b/bash/openconnect.bash
index 5ca05934..a235dfc0 100644
--- a/bash/openconnect.bash
+++ b/bash/openconnect.bash
@@ -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}}
--
2.17.1