talira

zsh-syntax-highlighting

Fish-like syntax highlighting for commands as you type them in zsh

open sourceBSD-3-Clausefree

zsh-syntax-highlighting colours the command you are typing at an interactive Zsh prompt, the way the fish shell does, so mistakes such as an unknown command or an unclosed quote stand out before you press Enter. It hooks into the Zsh Line Editor and must be sourced at the end of .zshrc. It installs from most Linux and BSD package managers and Homebrew, or with a plugin manager or framework such as Oh My Zsh or Antigen. It needs zsh 4.3.11 or newer.

Ways to install

Problems it solves

  • show me whether a command exists before I press Enter in zsh
  • colour my zsh command line like fish does
  • catch typos and unclosed quotes in shell commands as I type them

Features

  • highlights commands, options, strings and errors as you type at the zsh prompt
  • catches unknown commands and syntax errors before you run them
  • installs from Linux and BSD package managers or Homebrew
  • works with Oh My Zsh, Antigen and other plugin managers
  • requires zsh 4.3.11 or newer