From 719d275839c755c8e0749a3c49c84574ab6d81ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 16 Sep 2020 23:46:19 +0200 Subject: Add configuration examples for script --- zcompletion/_cmdtemp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 zcompletion/_cmdtemp (limited to 'zcompletion') diff --git a/zcompletion/_cmdtemp b/zcompletion/_cmdtemp new file mode 100644 index 0000000..fc67ad0 --- /dev/null +++ b/zcompletion/_cmdtemp @@ -0,0 +1,13 @@ +#compdef cmdtemp + +_cmdtemp() { + _arguments -s -S \ + "*::cmdtemp command:_list_commands" + return 0 +} + + +(( $+functions[_list_commands] )) || +_list_commands() { + _message "`cmdtemp`" +} -- cgit v1.2.3