zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: add correct number of slashes to iconv's //translit
@ 2011-08-18 13:00 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2011-08-18 13:00 UTC (permalink / raw)
  To: zsh-workers

---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-18 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 13:00 PATCH: add correct number of slashes to iconv's //translit Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).