diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:53:06 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:53:06 +0000 |
| commit | 4e4216f62ea07264905d7737985a14bd75717276 (patch) | |
| tree | 450091a99a8cd9cb85dbf61038bb74d8b9a8c966 | |
| parent | moved to Completion/Unix/Command/_iconv (diff) | |
| download | zsh-4e4216f62ea07264905d7737985a14bd75717276.tar zsh-4e4216f62ea07264905d7737985a14bd75717276.tar.gz zsh-4e4216f62ea07264905d7737985a14bd75717276.tar.bz2 zsh-4e4216f62ea07264905d7737985a14bd75717276.tar.lz zsh-4e4216f62ea07264905d7737985a14bd75717276.tar.xz zsh-4e4216f62ea07264905d7737985a14bd75717276.tar.zst zsh-4e4216f62ea07264905d7737985a14bd75717276.zip | |
moved from Completion/User/_iconv
| -rw-r--r-- | Completion/Unix/Command/_iconv | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv new file mode 100644 index 000000000..3764c4634 --- /dev/null +++ b/Completion/Unix/Command/_iconv @@ -0,0 +1,54 @@ +#compdef iconv + +local expl curcontext="$curcontext" state line codeset LOCPATH + +(( $+_is_gnu )) || typeset -gA _is_gnu +if (( ! $+_is_gnu[$words[1]] )); then + if [[ $(_call_program version $words[1] --version < |
