summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-08-18 14:28:49 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-08-18 14:28:49 +0000
commitcf845a396ed6a9793711c15750b86326c440b483 (patch)
treeeab18e97f825bfb66f9b0838e549089108d23101
parentf0eaa5713eca5abfdeacabb1a71159456d1e3539 (diff)
downloadzsh-cf845a396ed6a9793711c15750b86326c440b483.tar.gz
zsh-cf845a396ed6a9793711c15750b86326c440b483.zip
29705: add correct number of slashes when completing //TRANSLIT.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_iconv2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 059d6db6a..ff7d8d384 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
Completion/Zsh/Command/_schedtool: move _schedtool completion
to correct directory.
+ * 29705: Completion/Unix/Command/_iconv: add correct number of
+ slashes when completing //TRANSLIT.
+
2011-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 29703: Src/exec.c, Src/subst.c, Test/D03procsubst.ztst:
@@ -15315,5 +15318,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5441 $
+* $Revision: 1.5442 $
*****************************************************
diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv
index 2cd69b21a..75fe521ee 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 "$@" \