Courtesy of the clever Shawn Van Ness, my new command-line prompt is now
$P$_$+$G
Which, when I set it via either the prompt command or the PROMPT environment variable, gives me a command line that looks like this:
C:\data\Projects\flexwiki\FlexWikiCore
++>
The plusses indicate that I'm two levels deep in pushd, and I like that the working directory appears on the line before, obliterating the problem of long paths making commands linewrap. Nice!
Posted
Jan 12 2005, 10:22 AM
by
craig-andera