.bashrc.d/01detect_system: Use /etc/os-release
[dotfiles-public.git] / src / .bashrc.d / 05histappend
index 19fab780025287d8ac869b4cc89ba5f4f4a1f2ec..6c96d658eec290c14bd4f2a2ca168abc1ef0d6bd 100644 (file)
@@ -1,4 +1,5 @@
-if [ "${OS}" != 'Gentoo' ] && [ "${OS}" != 'Gentoo Prefox' ]; then
+if test "${OS}" != gentoo
+then
        # Enable history appending instead of overwriting.
        # https://bugs.gentoo.org/show_bug.cgi?id=139609
        shopt -s histappend