Created
April 25, 2016 13:51
-
-
Save tmerse/851722c0c03cd442265ec523500c78c6 to your computer and use it in GitHub Desktop.
zsh autocompletion for dasht
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
#compdef dasht | |
_main() { | |
local commands | |
commands=(`dasht-docsets 2>/dev/null`) | |
if (( CURRENT >= 3 )); then | |
_describe -t commands 'commands' commands | |
fi | |
return 0 | |
} | |
_main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment