summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehyar <mashkuov@gmail.com>2022-01-20 13:49:58 +0300
committerGitHub <noreply@github.com>2022-01-20 13:49:58 +0300
commite511c36ec6c4746a3f4d68710397efd73d835b81 (patch)
treeeaa800b1f4b9cac234a2c9a3a372a78d191fbc9b
parent3d994b033b934b6f5d4e021b6e0b4155bf13542b (diff)
Add ZeroTier to the list of VPNs
ZeroTier users can also see their VPN IP when enabling the vpn_ip option.
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index fed131b5..b2e55cd6 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -7404,7 +7404,7 @@ _p9k_init_params() {
_p9k_declare -s POWERLEVEL9K_IP_INTERFACE ""
: ${_POWERLEVEL9K_IP_INTERFACE:='.*'}
_p9k_segment_in_use ip || _POWERLEVEL9K_IP_INTERFACE=
- _p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE "(gpd|wg|(.*tun)|tailscale)[0-9]*"
+ _p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE "(gpd|wg|(.*tun)|tailscale)[0-9]*)|(zt[a-z]*)"
: ${_POWERLEVEL9K_VPN_IP_INTERFACE:='.*'}
_p9k_segment_in_use vpn_ip || _POWERLEVEL9K_VPN_IP_INTERFACE=
_p9k_declare -b POWERLEVEL9K_VPN_IP_SHOW_ALL 0