Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _dupload



This comes from Gergely Nagy.

Index: Completion/Debian/Command/_dupload
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dupload,v
retrieving revision 1.1
diff -u -r1.1 _dupload
--- Completion/Debian/Command/_dupload	2001/04/02 12:22:41	1.1
+++ Completion/Debian/Command/_dupload	2001/11/26 17:02:00
@@ -2,7 +2,7 @@
 
 if (( ! $+_dupload_sites )); then
   _dupload_sites=(
-$(grep "^\$cfg" /etc/dupload.conf | sed 's/^\$cfg{\(.*\)}.*$/\1/')
+$(grep -hs "^\$cfg" /etc/dupload.conf ~/.dupload.conf | sed 's/^\$cfg{\([^}]*\)}.*$/\1/')
 )
 fi
 



Messages sorted by: Reverse Date, Date, Thread, Author