Index: tools/auto-complete.md
===================================================================
--- tools/auto-complete.md	(revision 97fed4458f48d4add95cb1d99ccefd2a77340fde)
+++ tools/auto-complete.md	(revision f681823641d37979ceeb2a42ee2570f6e69591c4)
@@ -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
+
+
