https://github.com/42LM/capsule
capsule is a simple single file terminal prompt that is completely customizable. Display is divided into capsules (TIMER > DIR > GIT > GIT ACTION).
https://github.com/42LM/capsule
git prompt terminal zsh zsh-prompt zshrc
Last synced: 5 days ago
JSON representation
capsule is a simple single file terminal prompt that is completely customizable. Display is divided into capsules (TIMER > DIR > GIT > GIT ACTION).
- Host: GitHub
- URL: https://github.com/42LM/capsule
- Owner: 42LM
- License: unlicense
- Created: 2025-02-18T16:14:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T13:51:16.000Z (8 months ago)
- Last Synced: 2025-05-29T14:24:34.069Z (6 months ago)
- Topics: git, prompt, terminal, zsh, zsh-prompt, zshrc
- Language: Shell
- Homepage:
- Size: 49.8 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - capsule - A simple single file terminal prompt that is completely customizable. Display is divided into capsules (`TIMER` > `DIR` > `GIT` > `GIT ACTION`). (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - capsule - A simple single file terminal prompt that is completely customizable. Display is divided into capsules (`TIMER` > `DIR` > `GIT` > `GIT ACTION`). (Themes / ZSH on Windows)
README
#
capsule

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
```sh
curl --create-dirs -o ~/.config/zsh/capsule/cap.zsh \
https://raw.githubusercontent.com/42LM/capsule/main/cap.zsh
```
Import (`.zshrc`)
```zsh
# 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](https://github.com/42LM/capsule/wiki/Troubleshoot) section in the wiki.
## Customize
Check the [Customize](https://github.com/42LM/capsule/wiki/Customize-%F0%9F%AA%84) section in the wiki.
### Example configurations

---

---

---

---

---

---

---