diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-05-14 12:41:56 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-05-14 12:41:56 +0300 |
commit | f924646194e95c9ef0423d0e6c10cf41cc7bf6b1 (patch) | |
tree | 3f8d501fbaa00e9e2c8034138efd93ff430e00ca /config/p10k-rainbow.zsh | |
parent | 8d1daa4e6340b1689bf951730489bc64c52220c7 (diff) |
add P9K_IP_{RX,TX}_BYTES_DELTA to the list of parameters available within POWERLEVEL9K_IP_CONTENT_EXPANSION (#1392)
Diffstat (limited to 'config/p10k-rainbow.zsh')
-rw-r--r-- | config/p10k-rainbow.zsh | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index a47fb18e..be6748a2 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -1528,13 +1528,15 @@ # The following parameters are accessible within the expansion: # # Parameter | Meaning - # ----------------------+--------------- - # P9K_IP_IP | IP address - # P9K_IP_INTERFACE | network interface - # P9K_IP_RX_BYTES | total number of bytes received - # P9K_IP_TX_BYTES | total number of bytes sent - # P9K_IP_RX_RATE | receive rate (since last prompt) - # P9K_IP_TX_RATE | send rate (since last prompt) + # ----------------------+------------------------------------------- + # P9K_IP_IP | IP address + # P9K_IP_INTERFACE | network interface + # P9K_IP_RX_BYTES | total number of bytes received + # P9K_IP_TX_BYTES | total number of bytes sent + # P9K_IP_RX_BYTES_DELTA | number of bytes received since last prompt + # 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_RX_RATE:+⇣$P9K_IP_RX_RATE }${P9K_IP_TX_RATE:+⇡$P9K_IP_TX_RATE }$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. |