mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-25 22:22:31 +01:00
Add tailscale in VPN network interface regex.
This commit is contained in:
parent
d524164020
commit
b3bd6c8ce5
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue