Add .bashrc.d/05histappend from Gentoo's /etc/bash/bashrc.
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 11:59:00 +0000 (06:59 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 11:59:00 +0000 (06:59 -0500)
src/.bashrc.d/05histappend [new file with mode: 0644]

diff --git a/src/.bashrc.d/05histappend b/src/.bashrc.d/05histappend
new file mode 100644 (file)
index 0000000..19fab78
--- /dev/null
@@ -0,0 +1,5 @@
+if [ "${OS}" != 'Gentoo' ] && [ "${OS}" != 'Gentoo Prefox' ]; then
+       # Enable history appending instead of overwriting.
+       # https://bugs.gentoo.org/show_bug.cgi?id=139609
+       shopt -s histappend
+fi