Great stuff! I've been wanting one of these for a while.
I gave it a go and seems to autocomplete very nicely :)
I can see other scripts benefiting from this!
Cheers Dan :)
On Jan 31, 2013, at 6:37 PM, Dan Berindei <dan.berindei(a)gmail.com> wrote:
Hi guys
I hated the fact that I didn't have branch name completions for remove_topic_branch
in zsh, so I wrote an auto-completion script for it:
https://github.com/danberindei/scripts/blob/master/zsh/_remove_topic_branch
Just save it to any directory and then add the directory to fpath in your .zshrc/.zshenv,
like this:
fpath=( $fpath <dir> )
or like this
FPATH=$FPATH:<dir>
Hope this helps.
Cheers
Dan
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
galder(a)redhat.com
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org