dotfiles/.config/fish/functions/hyperv-host-ip.fish

4 lines
80 B
Fish
Raw Normal View History

function hyperv-host-ip
ip route show 0.0.0.0/0 dev eth0 | cut -d\ -f3
end