|
|
|
@ -212,6 +212,8 @@ function testIpSegmentWorksOnOsxWithNoInterfaceSpecified() {
|
|
|
|
|
function testIpSegmentWorksOnOsxWithInterfaceSpecified() {
|
|
|
|
|
fakeIfconfig "eth1"
|
|
|
|
|
|
|
|
|
|
local POWERLEVEL9K_IP_INTERFACE="eth1"
|
|
|
|
|
|
|
|
|
|
# Load Powerlevel9k
|
|
|
|
|
source powerlevel9k.zsh-theme
|
|
|
|
|
local OS='OSX' # Fake OSX
|
|
|
|
@ -232,6 +234,8 @@ function testIpSegmentWorksOnLinuxWithNoInterfaceSpecified() {
|
|
|
|
|
function testIpSegmentWorksOnLinuxWithInterfaceSpecified() {
|
|
|
|
|
fakeIp "eth3"
|
|
|
|
|
|
|
|
|
|
local POWERLEVEL9K_IP_INTERFACE="eth3"
|
|
|
|
|
|
|
|
|
|
# Load Powerlevel9k
|
|
|
|
|
source powerlevel9k.zsh-theme
|
|
|
|
|
local OS='Linux' # Fake Linux
|
|
|
|
|