[31006] trunk/dports/shells/zsh

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 10:24:24 PST 2007


Revision: 31006
          http://trac.macosforge.org/projects/macports/changeset/31006
Author:   milosh at macports.org
Date:     2007-11-13 10:24:22 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
Fix to the _port completion function (as suggested in #11494)

Modified Paths:
--------------
    trunk/dports/shells/zsh/files/_port
    trunk/dports/shells/zsh-devel/files/_port

Modified: trunk/dports/shells/zsh/files/_port
===================================================================
--- trunk/dports/shells/zsh/files/_port	2007-11-13 18:24:13 UTC (rev 31005)
+++ trunk/dports/shells/zsh/files/_port	2007-11-13 18:24:22 UTC (rev 31006)
@@ -5,38 +5,52 @@
 # we cache the list of ports
 # we shall use some cache policy to avoid problems with new ports
 if (( ! $+portlist )); then
-	portlist=($(port list | cut -f 1))
+	portlist=($(port echo all; echo "all current active inactive installed uninstalled outdated"))
 fi
 
 subcmds=(
-'install' 
-'uninstall'
-'installed' 
-'outdated' 
-'upgrade' 
-'deactivate'
 'activate'
+'archive'
+'build'
+'cat'
 'clean'
-'distclean'
-'search'
-'list'
+'configure'
 'contents'
+'deactivate'
+'dependents'
 'deps'
-'variants'
+'destroot'
+'dir'
+'distcheck'
+'distclean'
+'dmg'
+'echo'
+'edit'
+'extract'
+'fetch'
+'file'
+'help'
 'info'
-'fetch'
-'extract'
+'install' 
+'installed' 
+'list'
+'livecheck'
+'location'
+'mpkg'
+'outdated'
 'patch'
-'configure'
-'build'
-'destroot'
-'test'
 'pkg'
-'mpkg'
-'dmg'
+'provides'
 'rpmpackage'
-'archive'
+'search'
+'selfupdate'
+'sync'
+'test'
 'unarchive'
+'uninstall'
+'upgrade' 
+'variants'
+'version'
 )
 
 _arguments -C \

Modified: trunk/dports/shells/zsh-devel/files/_port
===================================================================
--- trunk/dports/shells/zsh-devel/files/_port	2007-11-13 18:24:13 UTC (rev 31005)
+++ trunk/dports/shells/zsh-devel/files/_port	2007-11-13 18:24:22 UTC (rev 31006)
@@ -5,39 +5,52 @@
 # we cache the list of ports
 # we shall use some cache policy to avoid problems with new ports
 if (( ! $+portlist )); then
-	portlist=($(port echo all))
+	portlist=($(port echo all; echo "all current active inactive installed uninstalled outdated"))
 fi
 
 subcmds=(
-'install' 
-'uninstall'
-'installed' 
-'outdated' 
-'upgrade' 
-'deactivate'
 'activate'
+'archive'
+'build'
+'cat'
 'clean'
-'distclean'
-'search'
-'list'
+'configure'
 'contents'
+'deactivate'
+'dependents'
 'deps'
-'variants'
+'destroot'
+'dir'
+'distcheck'
+'distclean'
+'dmg'
+'echo'
+'edit'
+'extract'
+'fetch'
+'file'
+'help'
 'info'
-'fetch'
-'extract'
+'install' 
+'installed' 
+'list'
+'livecheck'
+'location'
+'mpkg'
+'outdated'
 'patch'
-'configure'
-'build'
-'destroot'
-'test'
 'pkg'
-'mpkg'
-'dmg'
+'provides'
 'rpmpackage'
-'archive'
+'search'
+'selfupdate'
+'sync'
+'test'
 'unarchive'
-'livecheck'
+'uninstall'
+'upgrade' 
+'variants'
+'version'
 )
 
 _arguments -C \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071113/1e591fb3/attachment.html


More information about the macports-changes mailing list