mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
Add tailscale in VPN network interface regex. (#1208)
This commit is contained in:
+1
-1
@@ -7173,7 +7173,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))[0-9]*"
|
||||
_p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE "(gpd|wg|(.*tun)|tailscale)[0-9]*"
|
||||
: ${_POWERLEVEL9K_VPN_IP_INTERFACE:='.*'}
|
||||
_p9k_segment_in_use vpn_ip || _POWERLEVEL9K_VPN_IP_INTERFACE=
|
||||
_p9k_declare -b POWERLEVEL9K_VPN_IP_SHOW_ALL 0
|
||||
|
||||
Reference in New Issue
Block a user