From 91b2526c02130e42350075cc779f9f13722a0e8a Mon Sep 17 00:00:00 2001 From: Ming Aldrich-Gan Date: Fri, 5 Apr 2019 11:35:01 -0400 Subject: [PATCH] Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate --- functions/icons.zsh | 5 +++++ powerlevel9k.zsh-theme | 1 + 2 files changed, 6 insertions(+) diff --git a/functions/icons.zsh b/functions/icons.zsh index 278677b9..ca7b2b0a 100755 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -55,6 +55,7 @@ function _p9k_init_icons() { LINUX_ICON $'\uE271' #  LINUX_ARCH_ICON $'\uE271' #  LINUX_DEBIAN_ICON $'\uE271' #  + LINUX_RASPBIAN_ICON $'\uE271' #  LINUX_UBUNTU_ICON $'\uE271' #  LINUX_CENTOS_ICON $'\uE271' #  LINUX_COREOS_ICON $'\uE271' #  @@ -156,6 +157,7 @@ function _p9k_init_icons() { LINUX_ICON $'\uF17C' #  LINUX_ARCH_ICON $'\uF17C' #  LINUX_DEBIAN_ICON $'\uF17C' #  + LINUX_RASPBIAN_ICON $'\uF17C' #  LINUX_UBUNTU_ICON $'\uF17C' #  LINUX_CENTOS_ICON $'\uF17C' #  LINUX_COREOS_ICON $'\uF17C' #  @@ -259,6 +261,7 @@ function _p9k_init_icons() { LINUX_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_ARCH_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_DEBIAN_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  + LINUX_RASPBIAN_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_UBUNTU_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_CENTOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_COREOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  @@ -357,6 +360,7 @@ function _p9k_init_icons() { LINUX_CENTOS_ICON $'\uF304' #  LINUX_COREOS_ICON $'\uF305' #  LINUX_DEBIAN_ICON $'\uF306' #  + LINUX_RASPBIAN_ICON $'\uF315' #  LINUX_ELEMENTARY_ICON $'\uF309' #  LINUX_FEDORA_ICON $'\uF30a' #  LINUX_GENTOO_ICON $'\uF30d' #  @@ -453,6 +457,7 @@ function _p9k_init_icons() { LINUX_ICON 'Lx' LINUX_ARCH_ICON 'Arc' LINUX_DEBIAN_ICON 'Deb' + LINUX_RASPBIAN_ICON 'RPi' LINUX_UBUNTU_ICON 'Ubu' LINUX_CENTOS_ICON 'Cen' LINUX_COREOS_ICON 'Cor' diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index f6b1a197..076d42bb 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -2283,6 +2283,7 @@ _p9k_init() { case "$os_release_id" in *arch*) _$0_set_os Linux LINUX_ARCH_ICON;; *debian*) _$0_set_os Linux LINUX_DEBIAN_ICON;; + *raspbian*) _$0_set_os Linux LINUX_RASPBIAN_ICON;; *ubuntu*) _$0_set_os Linux LINUX_UBUNTU_ICON;; *elementary*) _$0_set_os Linux LINUX_ELEMENTARY_ICON;; *fedora*) _$0_set_os Linux LINUX_FEDORA_ICON;;