From 76a85e052223d792e8735e93f1b4c507874411f1 Mon Sep 17 00:00:00 2001 From: Richard Ziegler Date: Thu, 13 May 2021 02:31:21 -0400 Subject: [PATCH] add kali icon --- internal/icons.zsh | 7 ++++++- internal/p10k.zsh | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/icons.zsh b/internal/icons.zsh index 03c0ecef..9d8f46f8 100644 --- a/internal/icons.zsh +++ b/internal/icons.zsh @@ -49,7 +49,7 @@ function _p9k_init_icons() { ANDROID_ICON '\uE270'$s #  LINUX_ICON '\uE271'$s #  LINUX_ARCH_ICON '\uE271'$s #  - LINUX_KALI_ICON '\u327F'$s # ㉿ + LINUX_KALI_ICON '\uE271'$s #  LINUX_DEBIAN_ICON '\uE271'$s #  LINUX_RASPBIAN_ICON '\uE271'$s #  LINUX_UBUNTU_ICON '\uE271'$s #  @@ -186,6 +186,7 @@ function _p9k_init_icons() { ANDROID_ICON '\uE17B'$s #  (doesn't always work) LINUX_ICON '\uF17C'$s #  LINUX_ARCH_ICON '\uF17C'$s #  + LINUX_KALI_ICON '\u327F'$s # ㉿ LINUX_DEBIAN_ICON '\uF17C'$s #  LINUX_RASPBIAN_ICON '\uF17C'$s #  LINUX_UBUNTU_ICON '\uF17C'$s #  @@ -323,6 +324,7 @@ function _p9k_init_icons() { FREEBSD_ICON '\U1F608'$q # 😈 LINUX_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" LINUX_ARCH_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" + LINUX_KALI_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" LINUX_DEBIAN_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" LINUX_RASPBIAN_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" LINUX_UBUNTU_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}" @@ -453,6 +455,7 @@ function _p9k_init_icons() { FREEBSD_ICON '\UF30C ' #  ANDROID_ICON '\uF17B' #  LINUX_ARCH_ICON '\uF303' #  + LINUX_KALI_ICON '\u327F'$s # ㉿ LINUX_CENTOS_ICON '\uF304'$s #  LINUX_COREOS_ICON '\uF305'$s #  LINUX_DEBIAN_ICON '\uF306' #  @@ -584,6 +587,7 @@ function _p9k_init_icons() { ANDROID_ICON 'android' LINUX_ICON 'linux' LINUX_ARCH_ICON 'arch' + LINUX_KALI_ICON 'kali' LINUX_DEBIAN_ICON 'debian' LINUX_RASPBIAN_ICON 'pi' LINUX_UBUNTU_ICON 'ubuntu' @@ -716,6 +720,7 @@ function _p9k_init_icons() { ANDROID_ICON 'And' LINUX_ICON 'Lx' LINUX_ARCH_ICON 'Arc' + LINUX_KALI_ICON 'Kli' LINUX_DEBIAN_ICON 'Deb' LINUX_RASPBIAN_ICON 'RPi' LINUX_UBUNTU_ICON 'Ubu' diff --git a/internal/p10k.zsh b/internal/p10k.zsh index f8e3a713..575f3977 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8211,6 +8211,7 @@ function _p9k_init_cacheable() { fi case $os_release_id in *arch*) _p9k_set_os Linux LINUX_ARCH_ICON;; + *kali*) _p9k_set_os Linux LINUX_KALI_ICON;; *debian*) _p9k_set_os Linux LINUX_DEBIAN_ICON;; *raspbian*) _p9k_set_os Linux LINUX_RASPBIAN_ICON;; *ubuntu*) _p9k_set_os Linux LINUX_UBUNTU_ICON;;