powerlevel9k
powerlevel9k copied to clipboard
Inconsistent network interface matching between OSX and other operating systems
- On OSX (and only on OSX) network interfaces whose names contain
"lo"are ignored.
For example, suppose I have a network interface called "slow" and I define these options:
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(ip)
POWERLEVEL9K_IP_INTERFACE=slow
On OSX I won't see ip segment but on other operating systems I will.
- On OSX network interfaces must match completely while on OSX matching is more relaxed.
With the same settings as before:
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(ip)
POWERLEVEL9K_IP_INTERFACE=slow
On OSX this will match the following interfaces (an incomplete list):
-
slow -
notslow -
slowr
On other operating systems it will only match "slow".