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

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

Loading…
Cancel
Save