ZSH(1)

NAME

zshPowerful but tastefully minimal zsh configurations.

SYNOPSIS

$sudo apt install zsh

INFO

102 stars
18 forks
0 views

DESCRIPTION

Powerful but tastefully minimal zsh configurations.

README

zsh

Powerful but tastefully minimal zsh configuration.

Dependencies

Arch

paru -S zsh neovim eza bat fd fzf zoxide starship ripgrep

Ubuntu

sudo apt install zsh neovim eza bat fd-find fzf ripgrep
# install zoxide and starship separately
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
curl -sS https://starship.rs/install.sh | sh
# Ubuntu installs bat and fd under different names — symlink them so everything works
ln -s $(which batcat) ~/.local/bin/bat
ln -s $(which fdfind) ~/.local/bin/fd

macOS

brew install zsh neovim eza bat fd fzf zoxide starship ripgrep

Setup

1. Clone the repo

git clone https://github.com/radleylewis/zsh ~/.config/zsh

2. Point zsh at the config directory

Add the following to /etc/zsh/zshenv:

if [[ -z "$XDG_CONFIG_HOME" ]]
then
    export XDG_CONFIG_HOME="$HOME/.config"
fi

if [[ -d "$XDG_CONFIG_HOME/zsh" ]] then export ZDOTDIR="$XDG_CONFIG_HOME/zsh" fi

3. Set zsh as your default shell

chsh -s $(which zsh)

4. Create required directories

mkdir -p ~/.local/state/zsh   # history
mkdir -p ~/.cache/zsh         # completion cache

5. Start a new shell

Plugins are installed automatically on first launch via the built-in plugin manager.

Plugins

Managed without a third-party plugin manager. Plugins are cloned into $ZDOTDIR/plugins/ on first launch.

PluginPurpose
fast-syntax-highlightingSyntax highlighting
zsh-autosuggestionsFish-style inline suggestions
zsh-history-substring-searchUp/down arrow history filtering
zsh-vi-modeVi keybindings

To update all plugins:

zplugin-update

Keybindings

KeyAction
Ctrl+RFuzzy history search (fzf)
Ctrl+TFuzzy file search including hidden files (fzf + fd)
Ctrl+FFuzzy file search excluding hidden files (fzf + fd)
Ctrl+→Move forward one word
Ctrl+←Move backward one word
/ History search by prefix
Ctrl+\Toggle autosuggestions

Starship Config

Included in the repo at starship.toml and loaded automatically via STARSHIP_CONFIG in .zshenv. Requires a Nerd Font in your terminal.

SEE ALSO

clihub5/25/2026ZSH(1)