Re: [gentoo-user] Re: bash_history

2006-03-20 Thread Neil Bothwick
On Sun, 19 Mar 2006 11:37:57 -0600, Octavio Ruiz (Ta^3) wrote: You also want to set, export PROMPT_COMMAND=${PROMPT_COMMAND:+${PROMPT_COMMAND} ;} history -a in cojuction with histappend. This results in PROMPT_COMMAND being set to history -a; history -a after using su. It is added for the

[gentoo-user] Re: bash_history

2006-03-19 Thread Tim Kruse
* On 18.03.2006 Neil Bothwick wrote: On Sat, 18 Mar 2006 10:17:19 +0100, Tim Kruse wrote: Like you set all options in zsh ... setopt INC_APPEND_HISTORY # incrementally append history to $HISTFILE Not that different from Bash then? :-) shopt -s histappend Do you mean the option itself

Re: [gentoo-user] Re: bash_history

2006-03-19 Thread Neil Bothwick
On Sun, 19 Mar 2006 09:18:58 +0100, Tim Kruse wrote: You see the difference? :-P Yes. One up to zsh it would appear, there;'s no such option in Bash. -- Neil Bothwick Your lack of organisation does not represent an emergency in my world. signature.asc Description: PGP signature

Re: [gentoo-user] Re: bash_history

2006-03-19 Thread Octavio Ruiz (Ta^3)
Tim Kruse, who happens to be smarter than you, thinks: * On 18.03.2006 Neil Bothwick wrote: On Sat, 18 Mar 2006 10:17:19 +0100, Tim Kruse wrote: Like you set all options in zsh ... setopt INC_APPEND_HISTORY # incrementally append history to $HISTFILE Not that different from Bash

[gentoo-user] Re: bash_history

2006-03-18 Thread Tim Kruse
* On 07.03.2006 Harry Putnam wrote: Tim Kruse [EMAIL PROTECTED] writes: I love zsh ;-) ,- | % setopt | grep -i append.*history | incappendhistory | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY | APPEND_HISTORY D | If this is set, zsh sessions will append their

[gentoo-user] Re: bash_history

2006-03-18 Thread Tim Kruse
* On 07.03.2006 Harry Putnam wrote: I'd love it more if they bothered to tell you how to set this stuff. A second notice to that. 'man zshoptions' says it all. You even haven't to scroll down as it is all mentioned on the first page ... So long, tkr -- MSDOS didn't get as bad as it is

Re: [gentoo-user] Re: bash_history

2006-03-18 Thread Neil Bothwick
On Sat, 18 Mar 2006 10:17:19 +0100, Tim Kruse wrote: Like you set all options in zsh ... setopt INC_APPEND_HISTORY # incrementally append history to $HISTFILE Not that different from Bash then? :-) shopt -s histappend -- Neil Bothwick WinErr 018: Unrecoverable error - System has been

Re: [gentoo-user] Re: bash_history

2006-03-08 Thread Goran Maksimovi
Tim Kruse [EMAIL PROTECTED] writes: I love zsh ;-) ,- | % setopt | grep -i append.*history | incappendhistory | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY | APPEND_HISTORY D | If this is set, zsh sessions will append their history list to |

Re: [gentoo-user] Re: bash_history

2006-03-07 Thread Haim Ashkenazi
On Tue, 2006-03-07 at 03:46 +0100, Tim Kruse wrote: * On 07.03.2006 Haim Ashkenazi wrote: I am wondering what do I need to config so that when a user or root type reboot the commands typed before a saved in bash_history and also when the user or root don' type anything but just press

Re: [gentoo-user] Re: bash_history

2006-03-07 Thread Goran Maksimovi
On Tue, 2006-03-07 at 03:46 +0100, Tim Kruse wrote: * On 07.03.2006 Haim Ashkenazi wrote: I am wondering what do I need to config so that when a user or root type reboot the commands typed before a saved in bash_history and also when the user or root don' type anything but just

[gentoo-user] Re: bash_history

2006-03-07 Thread Simon Kellett
Goran MaksimoviƦ [EMAIL PROTECTED] writes: Yes, but is there someway that when i press ctrl-alt-del that before Linux goes in the process of reboot he previously log outs and then he goes in the process of reboot? I have not tried it but, for example my /etc/inittab has a line:

[gentoo-user] Re: bash_history

2006-03-07 Thread Harry Putnam
Tim Kruse [EMAIL PROTECTED] writes: I love zsh ;-) ,- | % setopt | grep -i append.*history | incappendhistory | % man zshoptions | col -b | grep -A 4 APPEND_HISTORY | APPEND_HISTORY D | If this is set, zsh sessions will append their history list to | the

[gentoo-user] Re: bash_history

2006-03-06 Thread Tim Kruse
* On 07.03.2006 Haim Ashkenazi wrote: I am wondering what do I need to config so that when a user or root type reboot the commands typed before a saved in bash_history and also when the user or root don' type anything but just press combination of keys ctrl+alt+del? when you press reboot the