Mathieu Malaterre wrote: > Hi there, > > Is anyone using fancy zsh script to show git branch directly on the > shell ? If so what do you recommend ?
Look at the __git_ps1 function in git-completion.bash that comes with Git: http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/completion/git-completion.bash;h=545bd4b38368e3c2a3958133bbeef6a19e831fff;hb=d599e0484f8ebac8cc50e9557a4c3d246826843d It sets up the prompt for bash. It can probably be adapted for zsh. That said, there may be support in zsh proper already, but I'm not familiar with it. -Brad _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
