1 |
Trenton Adams <trenton.d.adams@×××××.com> writes: |
2 |
|
3 |
> Hi everyone, |
4 |
> |
5 |
> There's one thing that has kind of been a little annoying since I started |
6 |
> using gentoo a few months ago. That's the fact that when you open multiple |
7 |
> bash logins, only the history of the last one logged out actually gets |
8 |
> saved. Now I know that redhat saves all of them. Does anyone know how it |
9 |
> does this? Is it a patch, a certain scripts, what? |
10 |
> |
11 |
> Anyhow, I think gentoo really needs this feature. It's a little annoying to |
12 |
> lose all of your history when you've been working in multiple windows. |
13 |
|
14 |
I'm not really sure what this does but I've used for over a year |
15 |
thinking it made all shell history buffers get saved to |
16 |
~/.bash_history. I've never really tested to see what it does for |
17 |
sure. |
18 |
|
19 |
Its a bash built in called histappend that can be put into |
20 |
.bash_profile like this: |
21 |
|
22 |
shopt -s histappend |
23 |
|
24 |
-- |
25 |
gentoo-user@g.o mailing list |