Created
December 23, 2012 23:39
-
-
Save bunnymatic/4366744 to your computer and use it in GitHub Desktop.
Bash completion script for mperham/lunchy gem
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
__from_lunchy_list() { | |
COMPREPLY=() | |
local cur=${COMP_WORDS[COMP_CWORD]} | |
COMPREPLY=($(compgen -W '$(lunchy list)' -- $cur)) | |
} | |
complete -F __from_lunchy_list -o default lunchy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment