mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 09:03:37 +08:00
4 lines
142 B
Fish
4 lines
142 B
Fish
|
function __fish_print_interfaces --description "Print a list of known network interfaces"
|
||
|
netstat -i -n -a | awk 'NR>2'|awk '{print $1}'
|
||
|
end
|