shiko-prompt

August 30, 2026 · View on GitHub

An opinionated Rust-based zsh prompt builder built to be lightweight and minimal. If you want something that is quick and easy to configure, then this is the prompt for you.

kanagawa

Installation

Run ./install.sh <theme> to build and install the prompt for a specific theme (e.g., ./install.sh themes/kanagawa.json).

Usage

Add eval "$(shiko init)" to your .zshrc.

Customization

The default theme may be found at themes/default.json.

Options

The default theme configuration is shown below:

{
  "cwd_darken": 0.25,
  "cwd_bold_last": true,
  "colors": {
    "cwd": "#ccb1ed",
    "git_branch": "#b1d196",
    "git_changes": "#f9cb8c",
    "venv": "#65b1cd",
    "arrow":"#f0a6cc"
  },
  "icons": {
    "arrow": "➔",
    "git_ahead": "",
    "git_behind": "",
    "git_branch": "",
    "git_staged": "+",
    "git_unstaged": "*",
    "git_untracked": "?",
    "venv": ""
  }
}
KeyTypeDescription
cwd_darkennumberOpacity of the working directory prefix (0.0 = fully dimmed, 1.0 = full brightness)
cwd_bold_lastbooleanWhether the last path component in the cwd is rendered in bold
colors.cwdhex colorColor of the working directory text
colors.git_branchhex colorColor of the git branch name
colors.git_changeshex colorColor of the git change indicators (staged/unstaged)
colors.venvhex colorColor of the virtual environment prefix
colors.arrowhex colorColor of the arrow separator between prompt segments
icons.arrowstringCharacter used as the separator between prompt segments
icons.git_aheadstringCharacter shown when the branch is ahead of the remote
icons.git_behindstringCharacter shown when the branch is behind the remote
icons.git_branchstringCharacter shown before the git branch name
icons.git_stagedstringCharacter shown for staged changes
icons.git_unstagedstringCharacter shown for unstaged (modified) changes
icons.git_untrackedstringCharacter shown for untracked files

All colors should be written in the format #123456 (6 digit hexadecimal with leading #).