mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
5 lines
158 B
Fish
5 lines
158 B
Fish
|
function __fish_print_addresses --description "Print a list of known network addresses"
|
||
|
/sbin/ifconfig |sgrep 'inet addr'|cut -d : -f 2|cut -d ' ' -f 1
|
||
|
end
|
||
|
|