[Cialug] How to add multiple instances of bash to your bash history
Todd Walton
tdwalton at gmail.com
Thu Mar 20 06:23:54 CDT 2014
On Mar 19, 2014 11:56 PM, "Adam Hill" <adam at diginc.us> wrote:
>
> Here is my standard history setup from ~/.bashrc
>
> export HISTSIZE=100000
> export HISTFILESIZE=50000
> export HISTCONTROL=ignoredups
> export PROMPT_COMMAND="history -a; history -n; $PROMPT_COMMAND"
>
> the -a submits your recent commands so other sessions see them, the -n
> pulls the hitsory back into your session so you can see your other
> sessions' history.
Clever. But it seems like the GNU people ought to just fix the bug.
--
Todd
More information about the Cialug
mailing list