I am using vcprompt to provide me with the git branch and dirtiness status. It returns it as a string.
How can I catch this string in my tcsh prompt setting? I guess I need to put the call to vcprompt somehow in the prompt definition, but I can't find the syntax for that.
Edit: Solution is:
alias precmd "echo -n `vcprompt`"