From 4cd20c94b9f07b3fad8944c998a71eba0fce928a Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Tue, 13 Aug 2019 23:24:53 -0400 Subject: bin: fix docker completion script --- templates/.bin/_docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/.bin/_docker b/templates/.bin/_docker index 4b0c1e2..147de41 100755 --- a/templates/.bin/_docker +++ b/templates/.bin/_docker @@ -286,7 +286,8 @@ __docker_complete_detach_keys() { compset -P "*," keys=(${:-{a-z}}) - ctrl_keys=(${:-ctrl-{{a-z},{@,'[','\\','^',']',_}}}) + {{/* The next line is escaped as a Go template! */}} + {{`ctrl_keys=(${:-ctrl-{{a-z},{@,'[','\\','^',']',_}}})`}} _describe -t detach_keys "[a-z]" keys -qS "," && ret=0 _describe -t detach_keys-ctrl "'ctrl-' + 'a-z @ [ \\\\ ] ^ _'" ctrl_keys -qS "," && ret=0 } -- cgit v1.2.3