Skip to content

Commit

Permalink
Merge branch 'mgkurtz-mgk/rocky'
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Jul 25, 2023
2 parents 7e9a79f + 367c667 commit baf03bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/icons.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON '\uE271'$s #
LINUX_AMZN_ICON '\uE271'$s #
LINUX_ENDEAVOUROS_ICON '\uE271'$s #
LINUX_ROCKY_ICON '\uE271'$s #
SUNOS_ICON '\U1F31E'$q # 🌞
HOME_ICON '\uE12C'$s #
HOME_SUB_ICON '\uE18D'$s #
Expand Down Expand Up @@ -215,6 +216,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON '\uF17C'$s #
LINUX_AMZN_ICON '\uF17C'$s #
LINUX_ENDEAVOUROS_ICON '\uF17C'$s #
LINUX_ROCKY_ICON '\uF17C'$s #
SUNOS_ICON '\uF185 ' #
HOME_ICON '\uF015'$s #
HOME_SUB_ICON '\uF07C'$s #
Expand Down Expand Up @@ -358,6 +360,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_AMZN_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_ENDEAVOUROS_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_ROCKY_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}"
Expand Down Expand Up @@ -494,6 +497,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON '\uF316'$s #
LINUX_AMZN_ICON '\uF270'$s #
LINUX_ENDEAVOUROS_ICON '\UF322'$s #
LINUX_ROCKY_ICON '\UF32b'$s #
LINUX_ICON '\uF17C' #
SUNOS_ICON '\uF185 ' #
HOME_ICON '\uF015'$s #
Expand Down Expand Up @@ -633,6 +637,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON '\uF316'$s #
LINUX_AMZN_ICON '\uF270'$s #
LINUX_ENDEAVOUROS_ICON '\uF17C' #
LINUX_ROCKY_ICON '\uF17C' #
LINUX_ICON '\uF17C' #
SUNOS_ICON '\uF185 ' #
HOME_ICON '\uF015'$s #
Expand Down Expand Up @@ -770,6 +775,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON 'rhel'
LINUX_AMZN_ICON 'amzn'
LINUX_ENDEAVOUROS_ICON 'edvos'
LINUX_ROCKY_ICON 'rocky'
SUNOS_ICON 'sunos'
HOME_ICON ''
HOME_SUB_ICON ''
Expand Down Expand Up @@ -908,6 +914,7 @@ function _p9k_init_icons() {
LINUX_RHEL_ICON 'RH'
LINUX_AMZN_ICON 'Amzn'
LINUX_ENDEAVOUROS_ICON 'Edv'
LINUX_ROCKY_ICON 'Roc'
SUNOS_ICON 'Sun'
HOME_ICON ''
HOME_SUB_ICON ''
Expand Down
1 change: 1 addition & 0 deletions internal/p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8580,6 +8580,7 @@ function _p9k_init_cacheable() {
*rhel*) _p9k_set_os Linux LINUX_RHEL_ICON;;
amzn) _p9k_set_os Linux LINUX_AMZN_ICON;;
endeavouros) _p9k_set_os Linux LINUX_ENDEAVOUROS_ICON;;
rocky) _p9k_set_os Linux LINUX_ROCKY_ICON;;
*) _p9k_set_os Linux LINUX_ICON;;
esac
;;
Expand Down
1 change: 1 addition & 0 deletions internal/wizard.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,7 @@ function os_icon_name() {
*rhel*) echo LINUX_RHEL_ICON;;
amzn) echo LINUX_AMZN_ICON;;
endeavouros) echo LINUX_ENDEAVOUROS_ICON;;
rocky) echo LINUX_ROCKY_ICON;;
*) echo LINUX_ICON;;
esac
;;
Expand Down

0 comments on commit baf03bf

Please sign in to comment.