diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-24 15:34:26 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-24 15:34:26 +0300 |
commit | 4a9f441c7b1772eb2cb861ff06e13f0836b8ab3a (patch) | |
tree | 1250843efa6952282f37e14481e855d6e26a8066 /functions | |
parent | 49768006dec874673711e5d7f0bea3d657b62e2f (diff) |
rename all internal vars
Diffstat (limited to 'functions')
-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 4d731eb4..dea4d3bd 100755 --- a/functions/utilities.zsh +++ b/functions/utilities.zsh @@ -97,7 +97,7 @@ segment_in_use() { function _p9k_parse_ip() { local desiredInterface=${1:-'^[^ ]+'} - if [[ $OS == OSX ]]; then + if [[ $_p9k_os == OSX ]]; then [[ -x /sbin/ifconfig ]] || return local rawInterfaces && rawInterfaces="$(/sbin/ifconfig -l 2>/dev/null)" || return local -a interfaces=(${(A)=rawInterfaces}) |