|
|
|
@ -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
|
|
|
|
|