about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_dupload2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 909c72568..68a3dcb9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-26  Clint Adams  <clint@zsh.org>
+
+	* Gergely Nagy: 16291: Completion/Debian/Command/_dupload:
+	check ~/.dupload.conf, tweak sed expression to handle hooks.
+
 2001-11-21  Bart Schaefer  <schaefer@zsh.org>
 
 	* Sven: 16249: Src/parse.c: Clear pending here-documents upon a
diff --git a/Completion/Debian/Command/_dupload b/Completion/Debian/Command/_dupload
index 85d294c71..81ac73f67 100644
--- a/Completion/Debian/Command/_dupload
+++ b/Completion/Debian/Command/_dupload
@@ -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