From e63b1663e5875bcd7f3b8b658cd25affaa48c7ae Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 28 Nov 2021 19:55:01 -0500 Subject: [PATCH] Further configure p10k --- dot_p10k.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_p10k.zsh b/dot_p10k.zsh index 33b4e8c55dbee77f2a4ac61393e4e2b5cbf5a2e2..f68a1c9dd47e04dc79e0b588a7764290a8cec0fe 100644 --- a/dot_p10k.zsh +++ b/dot_p10k.zsh @@ -103,7 +103,7 @@ time # current time # =========================[ Line #2 ]========================= newline - # ip # ip address and bandwidth usage for a specified network interface + ip # ip address and bandwidth usage for a specified network interface public_ip # public IP address # proxy # system-wide http/https/ftp proxy # battery # internal battery @@ -1481,7 +1481,7 @@ # P9K_IP_TX_BYTES_DELTA | number of bytes sent since last prompt # P9K_IP_RX_RATE | receive rate (since last prompt) # P9K_IP_TX_RATE | send rate (since last prompt) - typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP${P9K_IP_RX_RATE:+ %70F⇣$P9K_IP_RX_RATE}${P9K_IP_TX_RATE:+ %215F⇡$P9K_IP_TX_RATE}' + typeset -g POWERLEVEL9K_IP_CONTENT_EXPANSION='$P9K_IP_IP' # Show information for the first network interface whose name matches this regular expression. # Run `ifconfig` or `ip -4 a show` to see the names of all network interfaces. typeset -g POWERLEVEL9K_IP_INTERFACE='[ew].*'