Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: add correct number of slashes to iconv's //translit
- X-seq: zsh-workers 29705
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: add correct number of slashes to iconv's //translit
- Date: Thu, 18 Aug 2011 15:00:28 +0200
- 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=aC/V3+fRjsVmDUPbLMZzSuv1fySlykTUE7izgzC2Lmw=; b=rY/OQrOlmhZVbGxq6X1flfBQaP9hGQT6GzkkeAVtKkcyDJGv62QKBjxwTWryvWEkr+ 0VJ8lmdEVxH+Mwzg25/yDNUu1zadmHW8SxzYEOBRf9FBrgVNhiHORtICLdMQ1YB8dBZc WTOj514t4ASshn6R4ATcseGYovWa6EM2yt0jI=
- 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/_iconv | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv
index 2cd69b2..75fe521 100644
--- a/Completion/Unix/Command/_iconv
+++ b/Completion/Unix/Command/_iconv
@@ -21,7 +21,7 @@ if _pick_variant gnu=GNU unix --version; then
'1:input file:_files' && return 0
if [[ $state = codeset ]]; then
- if compset -P '*/'; then
+ if compset -P '*[^/]/'; then
_wanted option expl option compadd "$@" /TRANSLIT && ret=0
else
_wanted codesets expl 'code set' compadd "$@" \
--
1.7.5.4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author