zsh-workers
 help / color / mirror / code / Atom feed
cbe7be297b6567125145d7ded2c5accf2e94f627 blob 421 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#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)"}:#*inet*}##*inet (addr:)(#c0,1)}%% *}
esac
debug log:

solving cbe7be2 ...
found cbe7be2 in https://inbox.vuxu.org/zsh-workers/1323545572-10775-1-git-send-email-mikachu@gmail.com/
found 606de3f in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 606de3ffbc33473fbec4a60a5710088c2a14b7f3	Completion/Unix/Type/_bind_addresses

applying [1/1] https://inbox.vuxu.org/zsh-workers/1323545572-10775-1-git-send-email-mikachu@gmail.com/
diff --git a/Completion/Unix/Type/_bind_addresses b/Completion/Unix/Type/_bind_addresses
index 606de3f..cbe7be2 100644

Checking patch Completion/Unix/Type/_bind_addresses...
Applied patch Completion/Unix/Type/_bind_addresses cleanly.

index at:
100644 cbe7be297b6567125145d7ded2c5accf2e94f627	Completion/Unix/Type/_bind_addresses

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).