[Git-commits] [grml/grml-etc-core] 0731b9: zshrc: updated OS recognition functions

Moviuro moviuro+grml at gmail.com
Mon Sep 15 12:24:27 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-etc-core
  Commit: 0731b9ef086b033b52fafd94a27b7daad6942b4b
      https://github.com/grml/grml-etc-core/commit/0731b9ef086b033b52fafd94a27b7daad6942b4b
  Author: Moviuro <moviuro+grml at gmail.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: updated OS recognition functions

TODO: add more to the list (e.g. *BSDs, Solaris...)


  Commit: 287c3482e4fc7e8e8880aba60d7e0998cfc75558
      https://github.com/grml/grml-etc-core/commit/287c3482e4fc7e8e8880aba60d7e0998cfc75558
  Author: Moviuro <moviuro+grml at gmail.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: rewrite battery function

Now supports multiple batteries
Now indicates status (^ Charging, v Discharging, = Full or Unknown)
Now supports different functions for different OSes

TODO: add configurability (zstyle, etc.)
TODO: add support for other OSes (ATM, only Linux is supported)


  Commit: 18b7e044e9a2b6078f4a665a170f6629d5b9c9f1
      https://github.com/grml/grml-etc-core/commit/18b7e044e9a2b6078f4a665a170f6629d5b9c9f1
  Author: Moviuro <moviuro+grml at gmail.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: renamed allcaps variable

BATTERY becomes GRML_DISPLAY_BATTERY
PERCENT becomes GRML_BATTERY_LEVEL


  Commit: 0d77c1236fcc3d47ee30db86972e09a8d8bc7a80
      https://github.com/grml/grml-etc-core/commit/0d77c1236fcc3d47ee30db86972e09a8d8bc7a80
  Author: Moviuro <moviuro+grml at gmail.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: converted to UTF-8


Compare: https://github.com/grml/grml-etc-core/compare/dffa817d4588...0d77c1236fcc


More information about the Git-commits mailing list