aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-24 20:58:07 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-24 20:58:07 +0300
commit82698c179b08a864e10f660429e78cfdb05758b8 (patch)
tree59e6112838fec0dad6a375a2f81e4d16777243e9 /internal/p10k.zsh
parent6eaa39e37037f1d43ed24724eb472376bbf41086 (diff)
delete prompt_icons_test
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh12
1 files changed, 0 insertions, 12 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index a67d730b..ecae64b5 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1570,18 +1570,6 @@ prompt_detect_virt() {
}
################################################################
-# Test icons
-prompt_icons_test() {
- for key in ${(@k)icons}; do
- # The lower color spectrum in ZSH makes big steps. Choosing
- # the next color has enough contrast to read.
- local random_color=$((RANDOM % 8))
- local next_color=$((random_color+1))
- "$1_prompt_segment" "$0" "$2" "$random_color" "$next_color" "$key" 0 '' "$key"
- done
-}
-
-################################################################
# Segment to display the current IP address
prompt_ip() {
_p9k_parse_ip $_POWERLEVEL9K_IP_INTERFACE || return