aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-27 11:57:54 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-27 11:57:54 +0300
commit0c627eb31de1b816e98fa17a11ecf675c4e2b366 (patch)
tree85f8b8f34198214ba9ce1f0fd398b81e7e665988 /config/p10k-classic.zsh
parent3f2f38a71eb71719edec5edb8f43a8684f81a2f7 (diff)
add `proxy` prompt segment
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index aab768ef..6864ba47 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -65,6 +65,7 @@ fi
# =========================[ Line #2 ]=========================
newline
# public_ip # public IP address
+ # proxy # system-wide http/https/ftp proxy
# battery # internal battery
# example # example user-defined segment (see prompt_example function below)
)
@@ -626,6 +627,12 @@ fi
# Custom icon.
# typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ #########################[ proxy: system-wide http/https/ftp proxy ]##########################
+ # Proxy color.
+ typeset -g POWERLEVEL9K_PROXY_FOREGROUND=68
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_PROXY_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
################################[ battery: internal battery ]#################################
# Show battery in red when it's below this level and not connected to power supply.
typeset -g POWERLEVEL9K_BATTERY_LOW_THRESHOLD=20