capsule

March 4, 2025 ยท View on GitHub


Screenshot taken in ghostty

capsule is a simple single file terminal prompt that is completely customizable.
Display is divided into capsules (TIMER > DIR > GIT > GIT ACTION).

Quickstart

Install

curl --create-dirs -o ~/.config/zsh/capsule/cap.zsh \
https://raw.githubusercontent.com/42LM/capsule/main/cap.zsh

Import (.zshrc)

# only load prompt if the `cap.zsh` file exists
[ -f "$HOME/.config/zsh/capsule/cap.zsh" ] && \
source "$HOME/.config/zsh/capsule/cap.zsh"

Troubleshoot

Check the Troubleshoot section in the wiki.

Customize

Check the Customize section in the wiki.

Example configurations







Frame 4 (9)
Frame 4