diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-13 23:24:53 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-13 23:24:53 -0400 |
commit | 4cd20c94b9f07b3fad8944c998a71eba0fce928a (patch) | |
tree | dce231692b9f922b64f22508e7dab043c96de233 | |
parent | 5e349e2c951c182e277c1e1ab28391d44d0ed90b (diff) |
bin: fix docker completion script
-rwxr-xr-x | templates/.bin/_docker | 3 |
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 } |