1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

29705: add correct number of slashes when completing //TRANSLIT.

This commit is contained in:
Mikael Magnusson 2011-08-18 14:28:49 +00:00
parent f0eaa5713e
commit cf845a396e
2 changed files with 5 additions and 2 deletions

View file

@ -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 $
*****************************************************

View file

@ -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 "$@" \