aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehyar <mashkuov@gmail.com>2023-01-28 14:05:46 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-01-28 14:43:07 +0300
commite9e94a503a550b13b63a7528551a30dc5938c541 (patch)
treeb158d2fa71fcf07334d23b07478a42860edf339e
parent0adbc1415bf1bad46a7fd111b39640d995294dad (diff)
fix the default value of POWERLEVEL9K_VPN_IP_INTERFACE
It was broken by #1730.
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 75f317ac..ed6085ba 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -7490,7 +7490,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]*)|(zt.*)"
+ _p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE "(gpd|wg|(.*tun)|tailscale)[0-9]*|(zt.*)"
: ${_POWERLEVEL9K_VPN_IP_INTERFACE:='.*'}
_p9k_segment_in_use vpn_ip || _POWERLEVEL9K_VPN_IP_INTERFACE=
_p9k_declare -b POWERLEVEL9K_VPN_IP_SHOW_ALL 0