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:
parent
49768006de
commit
4a9f441c7b
2 changed files with 527 additions and 489 deletions
|
@ -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})
|
||||
|
|
1014
internal/p10k.zsh
1014
internal/p10k.zsh
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue