I've updated my .bashrc because I want the title of an xterm or gnome-term to display the current directory or the currently running process.
here are the relevant lines
export PS1='\[\e]0;$PWD\007\]\u@\h:\W$'
trap 'echo -ne "\e]0;$BASH_COMMAND\007"' DEBUG
Monday, April 19, 2010
Subscribe to:
Posts (Atom)
chris' shared items
Blog Archive
Twitter Updates
Official blog of Chris Lee Runyan
Fastest C++ in the west.