From 6a015133bd937c3cd72cde32e35fb1baae4debd6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 1 Mar 2011 20:21:59 +0000 Subject: Baptiste: 28819: FreeBSD completion tweaks --- ChangeLog | 8 +++++++- Completion/BSD/Command/.distfiles | 1 + Completion/BSD/Command/_sockstat | 23 +++++++++++++++++++++++ Completion/Unix/Command/_mount | 6 ++++-- Completion/Unix/Type/_file_systems | 4 ++-- 5 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 Completion/BSD/Command/_sockstat diff --git a/ChangeLog b/ChangeLog index a69dfee8e..4995aabb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-01 Peter Stephenson + + * Baptiste: 28819: Completion/BSD/Command/_sockstat, + Completion/Unix/Command/_mount, + Completion/Unix/Type/_file_systems: FreeBSD completion tweaks. + 2011-02-28 Barton E. Schaefer * 28823: Src/builtin.c: make it an error to tie the same scalar to @@ -14276,5 +14282,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5211 $ +* $Revision: 1.5212 $ ***************************************************** diff --git a/Completion/BSD/Command/.distfiles b/Completion/BSD/Command/.distfiles index 86530b8ea..d08edf814 100644 --- a/Completion/BSD/Command/.distfiles +++ b/Completion/BSD/Command/.distfiles @@ -15,4 +15,5 @@ _portmaster _portsnap _powerd _procstat +_sockstat ' diff --git a/Completion/BSD/Command/_sockstat b/Completion/BSD/Command/_sockstat new file mode 100644 index 000000000..2acbe6bec --- /dev/null +++ b/Completion/BSD/Command/_sockstat @@ -0,0 +1,23 @@ +#compdef sockstat + +local tmp_proto protocols proto + +tmp_proto=(${${(M)${(f)"$(