diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2019-01-23 03:01:49 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2019-01-23 03:01:49 +0300 |
commit | 480ade162bd6a99b5c71dab12579bf613da03715 (patch) | |
tree | 085dfe64b5ac9fbdad5c7d6346da2e6e9ac34ce2 /powerlevel9k.zsh-theme | |
parent | 32d3216bde4c22721ba7e4cb7ff39f12b5f3b2a4 (diff) |
Improve tests
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index e7b1b882..6902ed10 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -606,7 +606,7 @@ prompt_public_ip() { break done else - for vpn_iface in $(ip link ls up | grep -o -E ":\s+[a-z0-9]+:" | grep -v "lo" | grep -o -E "[a-z0-9]+" | grep -o -E "^$POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE.*") + for vpn_iface in $(${ROOT_PREFIX}/sbin/ip link ls up | grep -o -E ":\s+[a-z0-9]+:" | grep -v "lo" | grep -o -E "[a-z0-9]+" | grep -o -E "^$POWERLEVEL9K_PUBLIC_IP_VPN_INTERFACE.*") do icon='VPN_ICON' break |