Linked by Shane on Wed 24th Nov 2010 22:40 UTC
General Development "It is sometimes hard to form a mental model of a directory tree when working with the command line. GUI shells tend to provide more visual cues. So, like a lot of Bash users, I used to get around this by printing the current working directory in my shell prompt. However, things can get pretty cramped when dealing with deeply nested directories. A better solution is needed."
Thread beginning with comment 451073
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

I don't use OSX -- does not support the escape sequence to set the GUI terminal title? If indeed it does, I think that's a better option for showing long working directory paths.

Well, yes and no. Having the current directory in the title bar is certainly useful - I'd be lost without it. But having the full path clearly displayed every time you change directory sounds pretty handy too, when looking back over past commands to see what went wrong. I'm inclined to give it a try...

Reply Parent Score: 3