On Sun, Feb 19, 2012 at 22:13, Zoho Vignochi <zoho.vigno...@gmail.com> wrote:

> Can
> anyone help steer me in the proper direction?

I suspect you need to edit $PS1 , as the information is static for the
duration of your session within a vcsh repo, this should be relatively
easy.

My setup works[1] and looks as follows:

richih@adamantium  ~ % vcsh enter zsh
richih@adamantium [zsh] [2] (git)-[master] ~ % set | grep -a VCSH
VCSH_COMMAND=enter
VCSH_DIRECTORY=zsh
VCSH_REPO_NAME=zsh
richih@adamantium [zsh] [2] (git)-[master] ~ %

As you can see, I simply add $VCSH_REPO_NAME to my prompt and that's that.


Richard

[1] 
https://github.com/RichiH/zshrc/blob/0d153f4ad1981751e57ae612ef02e74fdf94cf74/.zsh/functions/buildPS1#L15
_______________________________________________
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Reply via email to