Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _tar: similar fix as 27658 for _zip
- X-seq: zsh-workers 30019
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _tar: similar fix as 27658 for _zip
- Date: Mon, 12 Dec 2011 20:21:51 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; bh=bFLQUfcDEAH50XSNJMeTU8kmW1ucxWkONb+brqWeAGU=; b=KcBEmNI7nVlRDpoLip9qfRQXHybF9lf8K3n8Thr1YxwjWFtTKFYyGtTM9luF3N9Ei6 pmwXnIGsXALf/sxhU1ISi6BB70SXuAVkDgmmYZT8rNGoS/sdIX5W5j88cF2x4jPCXz6x RbXUIGJYGZZ3sgEJb+LdazWzxlwNCDLiJfiPk=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
Completion/Unix/Command/_tar | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar
index 4f32472..ce58524 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -177,7 +177,7 @@ else
fi
fi
if (( index )); then
- index="$~words[index+1]"
+ index=${~${(Q)words[index+1]}}
[[ $index = (.|..|)/* ]] || index=~+/$index
_files -W $index
else
--
1.7.5.4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author