By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!SET PROMPT=%[_PID]$s%%[git_prompt]$g$s
2244 > type %_tcstart | grep git
SET PROMPT=%[_PID]$s%%[git_prompt]$g$s
2244 > set prompt
2244$s%[git_prompt]$g$s
2244 > set git_prompt=foo
2244 foo>
Nice! I'd forgotten that $ was one of the supported characters in variable names....This should work in both places:
The value of git_prompt will be an empty string if it isn't defined. If it becomes defined, a non-empty string will appear.Code:SET PROMPT=%[_PID]$s%%[git_prompt]$g$s
Nice one!This seems to work for me:as the last command of TCSTART.BAT (or .BTM).Code:if isalias post_exec post_exec