aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2015-08-01 00:14:37 +0300
committerBen Hilburn <ben.hilburn@ettus.com>2015-08-01 00:14:37 +0300
commit831ab36b855dc1bcac49a80630b3da6c438b2387 (patch)
treedddc7295e8eaae8376a5975e2af9442f91583559
parent4ef5294d0b082e46526c2290187b0ee8667e4f4c (diff)
parent1edc606665580733e841ba90dae508ae9221c3b9 (diff)
Merge branch 'dritter/dritter/os_detection' into os-icon
-rw-r--r--powerlevel9k.zsh-theme12
1 files changed, 7 insertions, 5 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 8e442328..9a71278a 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -188,11 +188,13 @@ esac
# OS detection for the `os_icon` segment
case $(uname) in
- Darwin) OS_ICON=$APPLE_ICON ;;
- FreeBSD) OS_ICON=$FREEBSD_ICON ;;
- Linux) OS_ICON=$LINUX_ICON ;;
- SunOS) OS_ICON=$SUNOS_ICON ;;
- *) OS_ICON='' ;;
+ Darwin) OS_ICON=$APPLE_ICON ;;
+ FreeBSD) OS_ICON=$FREEBSD_ICON ;;
+ OpenBSD) OS_ICON=$FREEBSD_ICON ;;
+ DragonFly) OS_ICON=$FREEBSD_ICON ;;
+ Linux) OS_ICON=$LINUX_ICON ;;
+ SunOS) OS_ICON=$SUNOS_ICON ;;
+ *) OS_ICON='' ;;
esac
if [[ "$POWERLEVEL9K_HIDE_BRANCH_ICON" == true ]]; then