Commit graph

4 commits

Author SHA1 Message Date
67a67f7988 zsh: prompt: fix battery display on computers without acpi 2017-07-16 13:23:27 +02:00
2b7107a84a zsh: prompt: complete internal redesign + improvements
The prompt now no longer requires "setopt promptsubst" and even has
a bit more functionality:
    - show exitcode if not equal zero
    - underlined hostname if remote-connected via ssh
    - extra prompt symbol for root and different color username
    - improved battery status (color + charge detection)

Furthermore time and username@hostname have been swapped.
2017-07-10 02:40:38 +02:00
e09da88655 zsh: cleanup color formatting
This might be problematic for older zsh version which do not support
%F{..} nor %f.
2017-05-04 17:16:01 +02:00
1ef3a363de add old zshconfig 2016-10-25 18:21:43 +02:00