- Contextual auto-suggestion based on command history of CWD + global history (prio: 1. prefix, 2. substring)
- smart rejection of commands using relative paths into global history
- Typo correction: when the typed command is unknown (shown red), suggests the nearest matching command from history (fuzzy char match, transposition-aware) — accept with ARROW RIGHT
- Custom CTRL + R: show command history of CWD + dual search (contextual + global history)
- Agnoster inspired theme (showing current git branch + status + commits)
- runs git fetch (async) on first cd into a git repo (to show new commits from remote)
- Shortens long paths (to first char)
- Print execution timestamp + runtime in secs of last command
zeal-demo.mp4
curl -fsSL https://raw.githubusercontent.com/SeanPedersen/zeal/refs/heads/main/mac-install.sh | bashOr clone and run locally:
git clone https://github.com/SeanPedersen/zeal.git
cd zeal
bash mac-install.shThe installer will:
- Install zsh, git, and Nerd Font if missing (via Homebrew)
- Set zsh as your default shell
- Install zeal.zsh to
~/.zeal/ - Add
source ~/.zeal/zeal.zshto your.zshrc
- Install ZSH
- Debian:
sudo apt install zshArch:pacman -S zsh - MacOS:
brew install zsh - Make default shell:
chsh -s $(which zsh)
- Debian:
- Install Nerd Font (for powerline symbols)
- MacOS:
brew install --cask font-meslo-lg-nerd-font - Then set it as your terminal font
- MacOS:
- Install ZEAL
- Download zeal.zsh or clone this repo
- Source it from .zshrc (recommended):
source zeal.zsh- or replace .zshrc:
cp zeal.zsh ~/.zshrc
- or replace .zshrc:
- TAB to autocomplete existing paths in CWD
- ARROW RIGHT to autocomplete with current grey auto-suggestion (based on CWD + shell history)
- Contextual (cwd + command) history is stored in ~/.zsh_history_contextual