diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-02 07:33:12 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-07-02 07:33:12 +0300 |
commit | be66f21f5338ae9243403ce37a7a03931617648f (patch) | |
tree | d3a54360b12a5587d386bc6d4c3659f6b213f38f /internal | |
parent | a88e11f54b567f1d30a4e699c3b53966375bc4bf (diff) |
replace NETWORK_ICON
The original icon (U+FBF1) is in fact a ligature. Some terminals do
funky things when displaying it. For example:
print '\uFBF1 42 abc'
When executed in a VTE-based terminal with Nerd Fonts, it'll print this:
42 X abc
Here X stands for the glyph that Nerd Fonts uses for U+FBF1.
Diffstat (limited to 'internal')
-rw-r--r-- | internal/icons.zsh | 2 | ||||
-rw-r--r-- | internal/p10k.zsh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh index f9331df1..5181d45e 100644 --- a/internal/icons.zsh +++ b/internal/icons.zsh @@ -459,7 +459,7 @@ function _p9k_init_icons() { HOME_SUB_ICON '\uF07C'$s # FOLDER_ICON '\uF115'$s # ETC_ICON '\uF013'$s # - NETWORK_ICON '\uFBF1'$s # ﯱ + NETWORK_ICON '\uF877'$s # LOAD_ICON '\uF080 ' # SWAP_ICON '\uF464'$s # RAM_ICON '\uF0E4'$s # diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 7a37056b..b59f86d2 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -7728,7 +7728,7 @@ _p9k_must_init() { [[ $sig == $_p9k__param_sig ]] && return 1 _p9k_deinit fi - _p9k__param_pat=$'v98\1'${(q)ZSH_VERSION}$'\1'${(q)ZSH_PATCHLEVEL}$'\1' + _p9k__param_pat=$'v99\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+=$'$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' |