Closed duncan3dc closed 9 years ago
It is common to group commands into namespaces by using a colon in the command name to separate them. However standard bash completion treats the colon as a wordbreak (useful for ssh/scp) This change allows bash completion to work with commands including a colon character Based on the answer from this stack overflow quetion: http://stackoverflow.com/questions/10528695/how-to-reset-comp-wordbreaks-without-effecting-other-completion-script
Thanks for your contribution @duncan3dc. I've been considering refactoring this module for a while, as it was originally thrown together quite quickly. Your PR inspired me to put some more work into it!
It is common to group commands into namespaces by using a colon in the command name to separate them. However standard bash completion treats the colon as a wordbreak (useful for ssh/scp) This change allows bash completion to work with commands including a colon character Based on the answer from this stack overflow quetion: http://stackoverflow.com/questions/10528695/how-to-reset-comp-wordbreaks-without-effecting-other-completion-script