Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Inconsistent network interface matching between OSX and other operating systems #1358

Open
romkatv opened this issue Aug 30, 2019 · 0 comments

Comments

@romkatv
Copy link

romkatv commented Aug 30, 2019

  1. 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.

  1. 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".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant