mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
rename all internal vars
This commit is contained in:
parent
49768006de
commit
4a9f441c7b
2 changed files with 527 additions and 489 deletions
|
|
@ -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})
|
||||||
|
|
|
||||||
1014
internal/p10k.zsh
1014
internal/p10k.zsh
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue