qmetrics.net

zsh-syntax-highlighting

Fish-style command highlighting for Zsh

TerminalsDesktop/CLI app

This Zsh add-on colors the interactive command line as you type, similar to Fish shell highlighting. It helps spot syntax problems before executing commands.

Overview

Zsh Syntax Highlighting plugs into the Zsh line editor and recomputes colors for the current buffer while you compose a command at the prompt. The emphasis is on interactive shells rather than batch scripts.

It requires Zsh 4.3.11 or newer and must be sourced late in zshrc so its hooks run after other widgets and completion setup. On releases newer than 5.8 it registers a pre-redraw hook; older versions wrap ZLE widgets instead.

Incremental history search can show full highlighting only when Zsh itself is new enough to expose the needed buffer information; on older Zsh builds you still get default match underlining without the extra colors.

Highlighting rules live in pluggable highlighter scripts, and documentation describes how to tune them. Installation steps are documented separately for package managers and manual setup.

Key features

  • Live prompt command coloring
  • Syntax error visual cues
  • ZLE hook integration
  • Pluggable highlighter modules
  • Configurable highlight styles
  • Works with interactive Zsh sessions
  • History search highlighting on new Zsh
  • Late zshrc sourcing pattern

Use cases

  • Reviewing long shell commands
  • Catching quoting mistakes early
  • Comfortable Fish-like Zsh UX
  • Teaching shell syntax visually
  • Daily terminal workflow polish

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius