replace NETWORK_ICON; the original (U+F877) triggers a bug on macOS; see #895

pull/929/head
Roman Perepelitsa 5 years ago
parent 4635fcacee
commit 620e69fef1

@ -459,7 +459,7 @@ function _p9k_init_icons() {
HOME_SUB_ICON '\uF07C'$s #  HOME_SUB_ICON '\uF07C'$s # 
FOLDER_ICON '\uF115'$s #  FOLDER_ICON '\uF115'$s # 
ETC_ICON '\uF013'$s #  ETC_ICON '\uF013'$s # 
NETWORK_ICON '\uF877'$s #  NETWORK_ICON '\uF50D'$s # 
LOAD_ICON '\uF080 ' #  LOAD_ICON '\uF080 ' # 
SWAP_ICON '\uF464'$s #  SWAP_ICON '\uF464'$s # 
RAM_ICON '\uF0E4'$s #  RAM_ICON '\uF0E4'$s # 

@ -7742,7 +7742,7 @@ _p9k_must_init() {
[[ $sig == $_p9k__param_sig ]] && return 1 [[ $sig == $_p9k__param_sig ]] && return 1
_p9k_deinit _p9k_deinit
fi fi
_p9k__param_pat=$'v99\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1' _p9k__param_pat=$'v100\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1'
_p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1' _p9k__param_pat+=$'${#parameters[(I)POWERLEVEL9K_*]}\1${(%):-%n%#}\1$GITSTATUS_LOG_LEVEL\1'
_p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1' _p9k__param_pat+=$'$GITSTATUS_ENABLE_LOGGING\1$GITSTATUS_DAEMON\1$GITSTATUS_NUM_THREADS\1'
_p9k__param_pat+=$'$GITSTATUS_CACHE_DIR\1$GITSTATUS_AUTO_INSTALL\1${ZLE_RPROMPT_INDENT:-1}\1' _p9k__param_pat+=$'$GITSTATUS_CACHE_DIR\1$GITSTATUS_AUTO_INSTALL\1${ZLE_RPROMPT_INDENT:-1}\1'

Loading…
Cancel
Save