From eef98da6971e84377155270f218e9abb7a719bc9 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 11 Mar 2004 15:42:58 +0000 Subject: * 19600: Completion/Unix/Command/_tla: rudimentary completion for tla. --- Completion/Unix/Command/_tla | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Completion/Unix/Command/_tla (limited to 'Completion/Unix/Command/_tla') diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla new file mode 100644 index 000000000..22ce67133 --- /dev/null +++ b/Completion/Unix/Command/_tla @@ -0,0 +1,9 @@ +#compdef tla + +subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ ]* : *}% : *}##[ ]##} ) + +if (( CURRENT == 2 )); then + _describe -t commands 'tla command' compadd - "$subcmds[@]" +else + _files +fi -- cgit 1.4.1