rename all internal vars

pull/145/head
romkatv 6 years ago
parent 49768006de
commit 4a9f441c7b

@ -97,7 +97,7 @@ segment_in_use() {
function _p9k_parse_ip() { function _p9k_parse_ip() {
local desiredInterface=${1:-'^[^ ]+'} local desiredInterface=${1:-'^[^ ]+'}
if [[ $OS == OSX ]]; then if [[ $_p9k_os == OSX ]]; then
[[ -x /sbin/ifconfig ]] || return [[ -x /sbin/ifconfig ]] || return
local rawInterfaces && rawInterfaces="$(/sbin/ifconfig -l 2>/dev/null)" || return local rawInterfaces && rawInterfaces="$(/sbin/ifconfig -l 2>/dev/null)" || return
local -a interfaces=(${(A)=rawInterfaces}) local -a interfaces=(${(A)=rawInterfaces})

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save