mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-11 20:31:11 +01:00
16291: Gergely Nagy: check ~/.dupload.conf, tweak sed expression to handle hooks.
This commit is contained in:
parent
01ce2a758c
commit
6f081b9dd3
2 changed files with 6 additions and 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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue