Created
September 26, 2012 06:07
-
-
Save vad/3786366 to your computer and use it in GitHub Desktop.
uwsgi options completion in zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# uwsgi completion | |
_uwsgi_help() { | |
reply=(`uwsgi --help|tail -n +2|awk '{print $1}'|awk -F '|' '{print $1; if ($2) {print $2}}'`) | |
} | |
compctl -K _uwsgi_help -f uwsgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment