mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
b85a8bbbfe
Makes it harder to cause issues with aliases, see fish-shell#2245
4 lines
166 B
Fish
4 lines
166 B
Fish
function __fish_print_addresses --description "Print a list of known network addresses"
|
|
/sbin/ifconfig | __fish_sgrep 'inet addr'|cut -d : -f 2|cut -d ' ' -f 1
|
|
end
|
|
|