[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: workaround to not overwrite .bash_history

From: Juergen Weigert
Subject: Re: workaround to not overwrite .bash_history
Date: Mon, 12 Jun 2006 15:50:46 +0200
User-agent: Mutt/

On Jun 12, 06 13:34:06 +0000, Henrique Niwa wrote:
> hi,
> I would like to unify my .bash_history around the
> windows that screen creates. What i want is just bash
> adding lines to the bash history, without creating
> separate histories, because that is what it seems to
> do, every window has its own history.
> Anybody has any trick to do this?

try adding the following line to your ~/.bash_logout
history -a $HISTFILE

No idea how good that works. I am achiving the effect in tcsh with
set savehist=(1000 merge)


 o \  Juergen Weigert      unix-software __/ _=======.=======_     
<V> | address@hidden         creator    __/        _---|____________\/    
 \  |            0179/2069677      __/          (____/            /\
(/) | ____________________________/              _/ \_ vim:set sw=2 wm=8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]