Re: Set Bash $PS1 within tmux?

2010-10-28 Thread Martti Kühne
On Thu, Oct 28, 2010 at 5:56 PM, Stroller 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 o

Re: Set Bash $PS1 within tmux?

2010-10-28 Thread Stroller
Many thanks. I feel stupid now, because as soon as I woke up and went to follow your advice I find that my .bashrc already contains (inherited from my distro, I think, or bash itself): # Change the window title of X terminals case $TERM in xterm*|rxvt|eterm) PROMPT_COMMAND='echo -ne "\033]

Re: Set Bash $PS1 within tmux?

2010-10-28 Thread Nicholas Marriott
Check for $TMUX in .profile or .bashrc or whatever and use it to set a different prompt. On Thu, Oct 28, 2010 at 10:05:30AM +0100, Stroller wrote: > Hi there, > > I'd like to have a different Bash prompt within tmux from my normal one. > > Is this possible, please? > > I apologise if this is a

Set Bash $PS1 within tmux?

2010-10-28 Thread Stroller
Hi there, I'd like to have a different Bash prompt within tmux from my normal one. Is this possible, please? I apologise if this is a dumb question, but I seem to have spent hours customising the status line, and this is the one last thing I don't seem to be able to get. I tried `set -g updat

Re: Apply bell patch to mainstream?

2010-10-28 Thread Nicholas Marriott
yep On Thu, Oct 28, 2010 at 12:40:28AM +0100, Stroller wrote: > Ok, so maybe not today or tomorrow... but within the next couple of months, > maybe? > > I'm not actually that bothered myself, as I can live with the workaround for > the moment. I just read that the fix would be in the next rele

Re: Apply bell patch to mainstream?

2010-10-28 Thread Lukas Grässlin
Ah, ok, nice to hear :) On Wed, Oct 27, 2010 at 07:58:16PM +0100, Nicholas Marriott wrote: > Hi > > This is already in CVS HEAD and will be in 1.4 when it is released. > > > > > On Wed, Oct 27, 2010 at 08:41:49PM +0200, Lukas Grässlin wrote: > > Argl, sorry, forgot to attach. > > > > > >