diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-05-23 01:02:51 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-05-23 01:02:51 +0300 |
commit | 6539b1cb38a6719655151a9dba9dee768c182287 (patch) | |
tree | 82401dd9426d1c2fbcf5a09c66da621406bbce26 /functions/utilities.zsh | |
parent | 88963159fd1ec9c05263936d421e162841430fb1 (diff) |
fix a typo
Diffstat (limited to 'functions/utilities.zsh')
-rwxr-xr-x | functions/utilities.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh index 969caeba..0619c035 100755 --- a/functions/utilities.zsh +++ b/functions/utilities.zsh @@ -92,7 +92,7 @@ function _p9k_parse_ip() { if [[ "${interface//${newline}/}" =~ "<([^>]*)>(.*)inet[ ]+([^ ]*)" ]]; then local ipFound="${match[3]}" local -a interfaceStates=(${(s:,:)match[1]}) - if (( "${interfaceStates[(I)UP]}" )); then + if (( ${interfaceStates[(I)UP]} )); then _P9K_RETVAL=$ipFound return fi |