zsh:p10k: Recognize protonvpn as vpn

This commit is contained in:
2021-01-15 12:41:09 +01:00
parent 0caa30d6ef
commit 1cbf572d42

View File

@@ -1385,7 +1385,7 @@
# typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=
# Regular expression for the VPN network interface. Run `ifconfig` or `ip -4 a show` while on VPN
# to see the name of the interface.
typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.*tun)|vpn)[0-9]*'
typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.*tun)|vpn|proton)[0-9]*'
# If set to true, show one segment per matching network interface. If set to false, show only
# one segment corresponding to the first matching network interface.
# Tip: If you set it to true, you'll probably want to unset POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION.