Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Z shell
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Features == [[File:Zsh 5.9 new user screenshot.webp|thumb|Z shell's configuration utility for new users]] [[File:Zsh-agnoster.png|thumb|Zsh with Agnoster theme running on [[Konsole]] terminal emulator]] Features include:<ref>{{Cite web|url=http://zsh.sourceforge.net/FAQ/zshfaq01.html|title=Z-Shell Frequently-Asked Questions|website=zsh.sourceforge.net|access-date=2020-03-04|archive-date=2021-03-02|archive-url=https://web.archive.org/web/20210302213122/http://zsh.sourceforge.net/FAQ/zshfaq01.html|url-status=live}}</ref> * Programmable [[command-line completion]] that can help the user type both options and arguments for most used commands, with out-of-the-box support for several hundred commands * Sharing of [[command history]] among all running shells * Extended [[glob (programming)|file globbing]] allows file specification without needing to run an external program such as [[Find (Unix)|find]] * Improved [[variable (computer science)|variable]]/[[Array data structure|array]] handling (non-[[zero-based numbering]]) * Editing of multi-line commands in a single buffer * [[spell checker|Spelling correction]] and [[autofill]] of command names (and optionally arguments, assumed to be file names) * Various compatibility modes, e.g. Zsh can pretend to be a [[Bourne shell]] when run as <code>/bin/sh</code> * Themeable [[Command-line interface#Command prompt|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 * Loadable modules, providing among other things: full [[Transmission Control Protocol|TCP]] and [[Unix domain socket]] controls, an [[File Transfer Protocol|FTP]] client, and extended math functions. * The built-in <code>where</code> command. Works like the <code>which</code> command but shows all locations of the target command in the directories specified in <code>$PATH</code> rather than only the one that will be used. * Named directories. This allows the user to set up shortcuts such as <code>~mydir</code>, which then behave the way <code>~</code> and <code>~user</code> do. * Widgets. Both built and implemented by ordinary functions widgets can be bound to hotkeys. * Function autoloading. A performance optimization for function that might be pre-loaded and run on demand.<ref>{{Cite book |title=Unix power tools |date=2003 |publisher=O'Reilly |isbn=978-0-596-00330-2 |edition=3 |location=Sebastopol (Calif.)}}</ref> The intent of loading functions as separate file is also to support function features across different zsh versions.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)