diff options
Diffstat (limited to 'zcompletion/_cmdtemp')
-rw-r--r-- | zcompletion/_cmdtemp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zcompletion/_cmdtemp b/zcompletion/_cmdtemp new file mode 100644 index 0000000..fc67ad0 --- /dev/null +++ b/zcompletion/_cmdtemp | |||
@@ -0,0 +1,13 @@ | |||
1 | #compdef cmdtemp | ||
2 | |||
3 | _cmdtemp() { | ||
4 | _arguments -s -S \ | ||
5 | "*::cmdtemp command:_list_commands" | ||
6 | return 0 | ||
7 | } | ||
8 | |||
9 | |||
10 | (( $+functions[_list_commands] )) || | ||
11 | _list_commands() { | ||
12 | _message "`cmdtemp`" | ||
13 | } | ||