mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-26 08:51:57 +00:00
fix a typo
This commit is contained in:
parent
88963159fd
commit
6539b1cb38
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue