aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Timko <sparticvs@users.noreply.github.com>2021-09-22 20:49:39 +0300
committerGitHub <noreply@github.com>2021-09-22 20:49:39 +0300
commit0ce9df66d2cffb860a7c48a8d4f3639cf581f908 (patch)
tree14f4868643dbd7a8a80958fe744de21ad53713f9
parent7a72acf5635cfc09aa544bfb70e13ad46faa432b (diff)
Add RHEL to the OS Icon lists (#1581)
* Add RHEL to the OS Icon lists
-rw-r--r--internal/icons.zsh6
-rw-r--r--internal/p10k.zsh1
-rw-r--r--internal/wizard.zsh1
3 files changed, 8 insertions, 0 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index dfbe0a00..60de3444 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -69,6 +69,7 @@ function _p9k_init_icons() {
LINUX_SLACKWARE_ICON '\uE271'$s # 
LINUX_VOID_ICON '\uE271'$s # 
LINUX_ARTIX_ICON '\uE271'$s # 
+ LINUX_RHEL_ICON '\uE271'$s # 
SUNOS_ICON '\U1F31E'$q # 🌞
HOME_ICON '\uE12C'$s # 
HOME_SUB_ICON '\uE18D'$s # 
@@ -203,6 +204,7 @@ function _p9k_init_icons() {
LINUX_SLACKWARE_ICON '\uF17C'$s # 
LINUX_VOID_ICON '\uF17C'$s # 
LINUX_ARTIX_ICON '\uF17C'$s # 
+ LINUX_RHEL_ICON '\uF17C'$s # 
SUNOS_ICON '\uF185 ' # 
HOME_ICON '\uF015'$s # 
HOME_SUB_ICON '\uF07C'$s # 
@@ -338,6 +340,7 @@ function _p9k_init_icons() {
LINUX_SLACKWARE_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_VOID_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_ARTIX_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
+ LINUX_RHEL_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
SUNOS_ICON "${CODEPOINT_OF_AWESOME_SUN_O:+\\u$CODEPOINT_OF_AWESOME_SUN_O }"
HOME_ICON "${CODEPOINT_OF_AWESOME_HOME:+\\u$CODEPOINT_OF_AWESOME_HOME$s}"
HOME_SUB_ICON "${CODEPOINT_OF_AWESOME_FOLDER_OPEN:+\\u$CODEPOINT_OF_AWESOME_FOLDER_OPEN$s}"
@@ -466,6 +469,7 @@ function _p9k_init_icons() {
LINUX_VOID_ICON '\uF17C' # 
LINUX_ARTIX_ICON '\uF17C' # 
LINUX_UBUNTU_ICON '\uF31b'$s # 
+ LINUX_RHEL_ICON '\uF316'$s # 
LINUX_ICON '\uF17C' # 
SUNOS_ICON '\uF185 ' # 
HOME_ICON '\uF015'$s # 
@@ -595,6 +599,7 @@ function _p9k_init_icons() {
LINUX_SLACKWARE_ICON 'slack'
LINUX_VOID_ICON 'void'
LINUX_ARTIX_ICON 'artix'
+ LINUX_RHEL_ICON 'rhel'
SUNOS_ICON 'sunos'
HOME_ICON ''
HOME_SUB_ICON ''
@@ -725,6 +730,7 @@ function _p9k_init_icons() {
LINUX_SLACKWARE_ICON 'Sla'
LINUX_VOID_ICON 'Vo'
LINUX_ARTIX_ICON 'Art'
+ LINUX_RHEL_ICON 'RH'
SUNOS_ICON 'Sun'
HOME_ICON ''
HOME_SUB_ICON ''
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 98090d99..6928b8fc 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -8286,6 +8286,7 @@ function _p9k_init_cacheable() {
*manjaro*) _p9k_set_os Linux LINUX_MANJARO_ICON;;
*void*) _p9k_set_os Linux LINUX_VOID_ICON;;
*artix*) _p9k_set_os Linux LINUX_ARTIX_ICON;;
+ *rhel*) _p9k_set_os Linux LINUX_RHEL_ICON;;
*) _p9k_set_os Linux LINUX_ICON;;
esac
;;
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index 7e91a1c7..9dbfe81d 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1103,6 +1103,7 @@ function os_icon_name() {
*manjaro*) echo LINUX_MANJARO_ICON;;
*void*) echo LINUX_VOID_ICON;;
*artix*) echo LINUX_ARTIX_ICON;;
+ *rhel*) echo LINUX_RHEL_ICON;;
*) echo LINUX_ICON;;
esac
;;