about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tla
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_tla')
-rw-r--r--Completion/Unix/Command/_tla6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla
index 22ce67133..4ae56a1d6 100644
--- a/Completion/Unix/Command/_tla
+++ b/Completion/Unix/Command/_tla
@@ -1,9 +1,11 @@
 #compdef tla
 
+local -a subcmds
+
 subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ 	]* : *}% : *}##[ 	]##} )
 
 if (( CURRENT == 2 )); then
-     _describe -t commands 'tla command' compadd - "$subcmds[@]"
+  _describe -t commands 'tla command' compadd - "$subcmds[@]"
 else
-     _files
+  _files
 fi