diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2001-11-26 17:07:14 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2001-11-26 17:07:14 +0000 |
| commit | 6f081b9dd3b797f2e396acd4544cf39dfd2f5604 (patch) | |
| tree | cb2663bfbe68b2c5f96ad216eb1a8f13e8e095e5 | |
| parent | 16249: Clear here-documents on parse error. (diff) | |
| download | zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar.gz zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar.bz2 zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar.lz zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar.xz zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.tar.zst zsh-6f081b9dd3b797f2e396acd4544cf39dfd2f5604.zip | |
16291: Gergely Nagy: check ~/.dupload.conf, tweak sed expression to handle hooks.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Completion/Debian/Command/_dupload | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 |
