Linked by Shane on Wed 24th Nov 2010 22:40 UTC
Thread beginning with comment 451053
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
RE: Why not set the GUI terminal title?
by Delgarde on Thu 25th Nov 2010 01:10
in reply to "Why not set the GUI terminal title?"
I don't use OSX -- does Terminal.app 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...




Member since:
2008-11-19
I don't use OSX -- does Terminal.app 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.
I use the following bash prompt on my Linux desktop:
export PS1="\[\033]0;\u:<\w>\007\]\n\[\033[01;33m\] > \[\033[00m\]"
This puts all the info into the GUI terminal titlebar, and the only prompt I have in the terminal is a neatly separated > .