mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
21781: cope with iconv --list
output from glibc 2.3.5.
This commit is contained in:
parent
9e3caedcd6
commit
5d6995abb1
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2005-09-28 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 21781: Completion/Unix/Command/_iconv: cope with
|
||||
`iconv --list` output from glibc 2.3.5.
|
||||
|
||||
* 21780: Completion/Debian/Command/_dlocate: completion for
|
||||
dlocate.
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ if _pick_variant gnu=GNU unix --version; then
|
|||
else
|
||||
_wanted codesets expl 'code set' compadd "$@" \
|
||||
-M 'm:{a-zA-Z}={A-Za-z} r:|-=* r:|=*' \
|
||||
${${${(f)"$(_call_program codesets iconv --list|sed -n '/^$/,$ p')"}## #}%//} && ret=0
|
||||
${${${(f)"$(_call_program codesets iconv --list)"}## #}%//} && ret=0
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue