Improved zsh completion

Complete options for sub commands
Complete global options
Don't use global variables