On Thu, Oct 28, 2010 at 5:56 PM, Stroller <strol...@stellar.eclipse.co.uk> wrote: > What I'm actually trying to achieve is to change the window title, so that > tmux can show the current working directory in the status bar. I don't like > using PROMPT_COMMAND so much because $PWD produces the ugly "/home/stroller", > instead of the desired "~". <snip>
>From a bash nerd's point of view, use ${PWD/$HOME/~} :-D mar77i ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users