Index: tools/auto-complete.md
===================================================================
--- tools/auto-complete.md	(revision 89a5a1f2576dcfd1a444fd4bb7045157b2d2545a)
+++ tools/auto-complete.md	(revision 376c632a5d942712cf8e7c1c9893351bba383bdb)
@@ -32,2 +32,23 @@
 
 ### Zsh
+
+1 - Add the following somewhere:
+    #compdef test.py
+
+    _test_py() {
+        local -a options
+        options=$($words[1] --list-comp)
+        _alternative "files:filenames:($options)"
+    }
+
+    _test_py "$@"
+
+2 - Add the path to that file to the "fpath" environment variable.
+
+3 - In ~/.zshrc add
+    autoload -U compinit
+    compinit
+
+*How it works:* I don't know ;P
+
+
