zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: apt-get install "pinning"
@ 2001-04-02  5:33 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-04-02  5:33 UTC (permalink / raw)
  To: zsh-workers

More new apt features.

Index: Completion/Debian/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/_apt,v
retrieving revision 1.13
diff -u -r1.13 _apt
--- Completion/Debian/_apt	2001/04/02 00:57:20	1.13
+++ Completion/Debian/_apt	2001/04/02 05:32:34
@@ -414,7 +414,9 @@
     -- \
     /$'update\0'/ \| \
     /$'upgrade\0'/ \| \
-    /$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \| \
+    \( \
+    /$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \
+    /$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
     /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
     /$'dist-upgrade\0'/ \| \
     /$'dselect-upgrade\0'/ \| \
@@ -535,7 +537,7 @@
 }
 
 _apt_releases () {
-  local command="$argv[$#]" update_policy
+  local update_policy
 
   zstyle -s ":completion:*:*:$service:*" cache-policy update_policy
   if [[ -z "$update_policy" ]]; then


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-02  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-02  5:33 PATCH: apt-get install "pinning" Clint Adams

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).