Jump to content

Z shell: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Jeronim (talk | contribs)
→‎External links: removing links to registration-required articles
Line 24: Line 24:
** [http://zshwiki.org/ ZSH Wiki]
** [http://zshwiki.org/ ZSH Wiki]
* Articles
* Articles
** [http://www.linux-mag.com/2004-02/power_01.html Catching some ZZZs]
** [http://www.linux-mag.com/2002-05/power_01.html Making the Transition to zsh]
** [http://www.unixreview.com/documents/s=9513/ur0501a/ur0501a.htm Shell Corner: ZSH Suite of "keeper" Functions]
** [http://www.unixreview.com/documents/s=9513/ur0501a/ur0501a.htm Shell Corner: ZSH Suite of "keeper" Functions]
** [http://www.linux-mag.com/2004-03/power_01.html Wilder Wildcards]
** [http://www.linux-mag.com/2002-06/power_01.html Writing Scripts for ZSH]
** [http://www.linux-mag.com/2002-07/power_01.html Writing ZSH Completion Functions]
** [http://www.rayninfo.co.uk/tips/zshtips.html Zzappers Best of ZSH Tips]
** [http://www.rayninfo.co.uk/tips/zshtips.html Zzappers Best of ZSH Tips]
* Fan page
* Fan page

Revision as of 04:17, 13 September 2005

The Z shell (zsh) is a Unix shell that can be used both as an interactive, login shell and as a powerful shell script command interpreter. Zsh can be thought of as an extended bourne shell with a large number of improvements, including some of the most useful features of bash, ksh, and tcsh.

The first version of zsh was written by Paul Falstad in 1990 when he was a student at Princeton University.

Some features of note include:

  • Programmable command completion that can help you type both options and arguments for your most used commands (with out-of-the-box support for several hundred commands).
  • Share command history among all your running shells.
  • Extended file globbing lets you specify files without needing to run an external program like "find".
  • Improved variable/array handling.
  • Edit multi-line commands in a single buffer.
  • Spelling correction.
  • Has various compatibility modes (e.g. you can have zsh pretend to be a bourne shell when run as /bin/sh).
  • Themeable prompts, including the ability to put prompt information on the right side of the screen and have it auto-hide when typing a long command.
  • Fully customizable.

Attesting to the sheer size of this shell is the now famous first sentence of the shell's manual page which says "Because zsh contains many features, the zsh manual has been split into a number of sections", and then goes on to list thirteen items.