aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/.bin/_docker3
1 files changed, 2 insertions, 1 deletions
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
}