talira

A shell designed for interactive use, and a powerful scripting language

open sourceMIT-Modern-Variantself-hostablefree

Zsh, the Z shell, is a Unix shell designed for interactive use that is also a powerful scripting language. It incorporates many useful features of Bash, ksh and tcsh and adds its own: a programmable completion system, an extensible line editor, extended pattern matching for filenames, prompt expansion with conditional sequences, autoloaded and hook functions, and loadable modules. It can emulate sh and ksh for compatibility, and its many options let users tune its behaviour. It's developed by the Zsh Development Group under a permissive MIT-style licence; a few shell functions carry GPL licences.

Problems it solves

  • a shell with much smarter tab completion for commands, options and git branches
  • match files recursively with patterns like **/*.ts without calling find
  • a prompt that shows my git branch and the last command's exit status
  • run my existing sh and ksh scripts while using a nicer interactive shell
  • customize key bindings and widgets in the command-line editor
  • share command history between terminal windows

Features

  • programmable completion system
  • extensible line editor (ZLE)
  • extended pattern matching and globbing
  • prompt expansion with conditional sequences
  • autoloaded, anonymous and hook functions
  • sh and ksh compatibility modes
  • loadable modules

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Zsh does.

  1. fish The user-friendly command line shell.
  2. Bash The GNU Project's Bourne Again SHell
  3. Nushell A new type of shell
  4. PowerShell A cross-platform task automation solution: command-line shell, scripting language and configuration management

Compare Zsh with the top 3