about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_topgit8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_topgit b/Completion/Unix/Command/_topgit
new file mode 100644
index 000000000..f447456d1
--- /dev/null
+++ b/Completion/Unix/Command/_topgit
@@ -0,0 +1,8 @@
+#compdef tg
+local expl
+
+if (( CURRENT == 2 )); then
+  _wanted subcmd expl 'topgit command' compadd create delete export import info patch remote summary update
+else
+  _files
+fi