https://github.com/Ryooooooga/croque
Fast and customizable shell prompt
https://github.com/Ryooooooga/croque
fish fish-prompt shell-prompt zsh zsh-prompt zsh-theme
Last synced: 3 days ago
JSON representation
Fast and customizable shell prompt
- Host: GitHub
- URL: https://github.com/Ryooooooga/croque
- Owner: Ryooooooga
- License: other
- Created: 2023-02-12T10:30:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-27T15:31:10.000Z (about 1 month ago)
- Last Synced: 2025-10-29T18:43:41.870Z (about 1 month ago)
- Topics: fish, fish-prompt, shell-prompt, zsh, zsh-prompt, zsh-theme
- Language: Rust
- Homepage:
- Size: 586 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-zsh-plugins - croque - Powerline-inspired theme with decorators for OS, user@host, `git` information, `git` username, current directory and exit status of last command. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - croque - Powerline-inspired theme with decorators for OS, user@host, `git` information, `git` username, current directory and exit status of last command. (Themes / ZSH on Windows)
README
# Croque
[](https://github.com/Ryooooooga/croque/actions)
[](https://crates.io/crates/croque)
Fast and customizable shell prompt.

## Optional Requirements
- [gh](https://github.com/cli/cli)
- [glab](https://docs.gitlab.com/ee/integration/glab)
## Installation
### From source
```sh
cargo install croque
```
### From Homebrew
```sh
brew install ryooooooga/tap/croque
```
### From precompiled binary
[releases](https://github.com/Ryooooooga/croque/releases)
### Bash
```bash
# ~/.bashrc
eval "$(croque init bash)"
```
### Zsh
```zsh
# ~/.zshrc
eval "$(croque init zsh)"
```
#### Using [Zinit](https://github.com/zdharma-continuum/zinit)
```zsh
# .zshrc
zinit light-mode from'gh-r' as'program' for \
atclone'./croque init zsh >croque.zsh; zcompile croque.zsh' atpull'%atclone' \
src'croque.zsh' \
@'Ryooooooga/croque'
```
### Fish
```fish
# ~/.config/fish/config.fish
croque init fish | source
```
## Configuration
```sh
$ croque config > ~/.config/croque/config.yaml
```