Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} _rakecomplete() { COMPREPLY=($(compgen -W "`rake -s -T | awk '{{print $2}}'`" -- ${COMP_WORDS[COMP_CWORD]})) return 0 } complete -o default -o nospace -F _rakecomplete rake
This paste will be private.
From the Design Piracy series on my blog: