1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 05:40:07 +00:00

Added OpenBSD and DragonFly again.

This commit is contained in:
Dominik Ritter 2015-07-29 10:30:58 +02:00
parent 4ef5294d0b
commit 1edc606665

View file

@ -188,11 +188,13 @@ esac
# OS detection for the `os_icon` segment # OS detection for the `os_icon` segment
case $(uname) in case $(uname) in
Darwin) OS_ICON=$APPLE_ICON ;; Darwin) OS_ICON=$APPLE_ICON ;;
FreeBSD) OS_ICON=$FREEBSD_ICON ;; FreeBSD) OS_ICON=$FREEBSD_ICON ;;
Linux) OS_ICON=$LINUX_ICON ;; OpenBSD) OS_ICON=$FREEBSD_ICON ;;
SunOS) OS_ICON=$SUNOS_ICON ;; DragonFly) OS_ICON=$FREEBSD_ICON ;;
*) OS_ICON='' ;; Linux) OS_ICON=$LINUX_ICON ;;
SunOS) OS_ICON=$SUNOS_ICON ;;
*) OS_ICON='' ;;
esac esac
if [[ "$POWERLEVEL9K_HIDE_BRANCH_ICON" == true ]]; then if [[ "$POWERLEVEL9K_HIDE_BRANCH_ICON" == true ]]; then