[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
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
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
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
participants (1)
-
bugzilla_noreply@novell.com