zsh 4.3.4 リリース


4.3.4は機能拡張を実施したメジャーリリース。zshは依然としてUnicodeの結合文字(combining characters)や複合文字(composition of characters)の扱いで(特にMac OS Xで)問題があることが知られており、今回はマルチバイトのサポートに力が注がれた。具体的には、コンパイルをマルチバイトサポート付きで実行できるようになり、マルチバイトモードで動作させることが可能になったという。そのほか、バグ修正や補完機能の拡張、いくつもの新機能の追加が施されている。

zsh 4.3.4登場 - マルチバイト文字の対応を強化 | マイナビニュース

Notes: Version 4.3.4 now contains most of the planned support for multibyte characters. There are still some problems notably with Unicode combining characters and composition of characters (notably on MacOS). If support is available the shell will be compiled with multibyte support and will start in multibyte mode (option MULTIBYTE set). Apart from the usual bug fixes and enhancements to completion functions, there are various other new features:

  • Users can write shell functions to be used in mathematical expressions. See the description of "functions -M" in the zshbuiltin manual page and the description of zmathfuncdef in the zshcontrib manual page.
  • The zle widget read-command reads a key sequence without executing it.
  • The zle widgets auto-suffix-remove and auto-suffix-retain provide user-defined control for suffixes (on the lines of AUTO_REMOVE_SLASH).
  • Various arrays are available to add a named function to a set called where the specific functions chpwd, periodic, precmd and preexec are called. The arrays are called chpwd_functions, etc.
  • There is a new special function zshexit also with a corresponding hook. See SPECIAL FUNCTIONS in the zshmisc manual.
  • ";|" at the end of a case statement causes the shell to continue looking at later tests (c.f. ";&" which causes an unconditional fall through).
  • The sched builtin has been enhanced to run events asynchronously when the shell is waiting at an interactive prompt.
  • There is a new set of functions to handle calendars and dates. See the zshcalsys manual page.
  • The zsh/parameter module makes available the parameter functrace for function backtraces.
zsh download | SourceForge.net


This is version 4.3.4 of the shell. This is a development release,
but is believed to be reasonably stable. Sites where the users need to
edit command lines with multibyte characters (in particular UTF-8)
will probably want to upgrade.