Current Path : /proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/ |
Current File : //proc/2/root/proc/2/cwd/usr/local/ssl/share/zsh/4.3.11/functions/_bind_addresses |
#autoload local expl case $OSTYPE in aix*) _hosts "$@" ;; darwin*|freebsd*|dragonfly*) _hosts "$@" ;; irix*) _hosts "$@" ;; # Couldn't find anything special for linux except for /proc/net/dev # Is there any proc file which gives the formatted ip? linux*) ;& *) _wanted bind-addresses expl 'bind address' compadd "$@" - \ ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:}%% *} esac