Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Add matchspec for foo/bar branch names in git completion



On May 14,  2:37pm, Daniel Shahaf wrote:
}
} I'd like to add a matchspec to git heads completion, such that
} 'git checkout o/m<TAB>' would complete to 'origin/master'.
} 
} However, I can't seem to get the matchspec right.

I'm not sure you can do that with a matchspec; you might need to use the
_multi_parts helper function.



Messages sorted by: Reverse Date, Date, Thread, Author