summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2019-01-23 03:01:49 +0300
committerDominik Ritter <dritter03@googlemail.com>2019-01-23 03:01:49 +0300
commit480ade162bd6a99b5c71dab12579bf613da03715 (patch)
tree085dfe64b5ac9fbdad5c7d6346da2e6e9ac34ce2 /powerlevel9k.zsh-theme
parent32d3216bde4c22721ba7e4cb7ff39f12b5f3b2a4 (diff)
Improve tests
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
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