pull/198/head
romkatv 5 years ago
parent ce532fea3e
commit 84a562eca6

@ -3051,10 +3051,8 @@ _p9k_preexec() {
} }
function _p9k_set_iface() { function _p9k_set_iface() {
if [[ ! -x /sbin/ifconfig ]]; then
_p9k_iface=() _p9k_iface=()
return [[ -x /sbin/ifconfig ]] || return
fi
local line local line
local iface local iface
for line in ${(f)"$(/sbin/ifconfig 2>/dev/null)"}; do for line in ${(f)"$(/sbin/ifconfig 2>/dev/null)"}; do

Loading…
Cancel
Save