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 451088
To view parent comment, click here.
To read all comments associated with this story, please click here.
Member since:

I done the same in bash before, but it is a lot less flexible (I know, I have an high score of ricerness)

I have a very similar ZSH prompt. I think we both stole the template from

Except in mine I have the time on the left and use the rprompt to display which mode I'm in (I use ZSH in vi-mode).

Reply Parent Score: 1