1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 21:41:57 +00:00

rename all internal vars

This commit is contained in:
romkatv 2019-07-24 14:34:26 +02:00
parent 49768006de
commit 4a9f441c7b
2 changed files with 527 additions and 489 deletions

View file

@ -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})

File diff suppressed because it is too large Load diff