[Bug 480192] New: shell option "histappend"
https://bugzilla.novell.com/show_bug.cgi?id=480192 Summary: shell option "histappend" Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: trent@trentonadams.ca QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-4.7 Firefox/3.0.4 It might be worth having the shell options "histappend" enabled by default. Most distributions do this. It really helps when you run multiple shells at a time, because otherwise your history gets overwritten by the last shell running. If you have "histappend" enabled, all of the new history gets appended to the bash history file. enable by running... # shopt -s histappend Reproducible: Always Steps to Reproduce: 1. login with shell 1 2. login with shell 2 3. type a command in shell 1 4. log out of shell 1 5. type a different command in shell 2 6. log out of shell 2 Actual Results: only the history of shell 2 gets saved to ".bash_history", and you lose the commands you ran in shell 1. Expected Results: The history of shell 1 AND shell 2 should have been saved to the ".bash_history" file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480192 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480192 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480192#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |trent@trentonadams.ca Severity|Minor |Enhancement --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-03-13 10:20:59 MST --- Hmmm ... AFAIC see Debian does not enable histappend ... what does `Most distributions' mean? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480192 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480192#c2 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|trent@trentonadams.ca | Resolution| |NORESPONSE --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2009-03-30 06:55:37 MDT --- No response :(( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480192 User trent@trentonadams.ca added comment https://bugzilla.novell.com/show_bug.cgi?id=480192#c3 --- Comment #3 from Trenton Adams <trent@trentonadams.ca> 2009-03-30 09:18:48 MDT --- I am sorry. I entered a response quite some time ago, but I must have forgotten to hit submit. Let's see, Redhat, gentoo (it never used to), centos, mandriva, and various other ones that I have tried, set this option. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com