.bashrc.d/01detect_system: Use os-release to detect Arch
authorW. Trevor King <wking@tremily.us>
Mon, 30 Apr 2018 21:15:00 +0000 (21:15 +0000)
committerW. Trevor King <wking@tremily.us>
Mon, 30 Apr 2018 21:15:00 +0000 (21:15 +0000)
commit7b8f3a767c60872683df07e5c9ec2c8845fa82f6
tree73cbc678b9ee3e493170938ab926bb141253c346
parent980cb1cbaf67b9f060acb588d8984ce35347b42f
.bashrc.d/01detect_system: Use os-release to detect Arch

Example content:

  NAME="Arch Linux ARM"
  ID=archarm
  ID_LIKE=arch
  PRETTY_NAME="Arch Linux ARM"
  ANSI_COLOR="0;36"
  HOME_URL="http://archlinuxarm.org/"
  SUPPORT_URL="https://archlinuxarm.org/forum"
  BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"

I should probably update the others to use os-release too, but I'm
putting that off for now.
src/.bashrc.d/01detect_system