diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-09-12 11:55:56 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-09-12 11:55:56 +0300 |
commit | 040be70d926d07c3bbf80b19c3ac4a431475f61f (patch) | |
tree | 6b991fe66473a8ff00f38705c23e847228130824 /internal | |
parent | f5f5fba08f97298d6f3faa7d745f2bb0a4cab473 (diff) |
change the default value of POWERLEVEL9K_VPN_IP_INTERFACE to recognize wireguard
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |