From b9d85d61889c54ac83d8d93f2dd2427e882abab0 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 17 Sep 2020 09:28:43 +0000 Subject: deploy: 7a8d3b4eec4056600625f2d359320c8a01fa88b3 --- tools/zsh.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tools/zsh.html') diff --git a/tools/zsh.html b/tools/zsh.html index 6584e5b..f591b11 100644 --- a/tools/zsh.html +++ b/tools/zsh.html @@ -239,9 +239,9 @@ function _foo_color() { function _foo() { _arguments \ "-c[define color]:color:->s_color" \ - "-s[select sound]:color:(low high)" \ + "-s[select sound]:sound:(low high)" \ "-f[select file]:file:_files" \ - "-d[select dir]:fir:_files -/" \ + "-d[select dir]:dir:_files -/" \ "-h[help]" case $state in @@ -249,6 +249,13 @@ function _foo() { esac } +
+

_files is a zsh builtin utility function to complete files/dirs see

+ +
-- cgit v1.2.3