From 040be70d926d07c3bbf80b19c3ac4a431475f61f Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 12 Sep 2019 10:55:56 +0200 Subject: [PATCH] change the default value of POWERLEVEL9K_VPN_IP_INTERFACE to recognize wireguard --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 96bee0bf..d2f17f08 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -3695,7 +3695,7 @@ _p9k_init_params() { _p9k_declare -e POWERLEVEL9K_SHORTEN_DELIMITER _p9k_declare -i POWERLEVEL9K_SHORTEN_DIR_LENGTH _p9k_declare -s POWERLEVEL9K_IP_INTERFACE "" - _p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE ".*tun[0-9]*" + _p9k_declare -s POWERLEVEL9K_VPN_IP_INTERFACE "(wg|(.*tun))[0-9]*" _p9k_declare -i POWERLEVEL9K_LOAD_WHICH 5 _p9k_declare -b POWERLEVEL9K_NODENV_PROMPT_ALWAYS_SHOW 0 _p9k_declare -b POWERLEVEL9K_NODE_VERSION_PROJECT_ONLY 0