#bash #fish #shell #prompt #zsh

app croque

Fast and customizable shell prompt

10 releases (4 breaking)

0.5.2 May 19, 2023
0.5.1 Apr 11, 2023
0.4.0 Mar 23, 2023
0.3.0 Mar 6, 2023
0.1.3 Feb 28, 2023

#3 in #shell-prompt

Download history 50/week @ 2023-02-16 40/week @ 2023-02-23 41/week @ 2023-03-02 2/week @ 2023-03-09 1/week @ 2023-03-16 30/week @ 2023-03-23 20/week @ 2023-03-30 55/week @ 2023-04-06 17/week @ 2023-04-13 9/week @ 2023-04-20 4/week @ 2023-04-27 22/week @ 2023-05-04 3/week @ 2023-05-11 50/week @ 2023-05-18 21/week @ 2023-05-25

96 downloads per month

MIT license

390KB
4.5K SLoC

Rust 3.5K SLoC Zsh 1K SLoC // 0.2% comments Shell 54 SLoC // 0.0% comments BASH 7 SLoC

Croque

Fast and customizable shell prompt.

Optional Requirements

Installation

From source

cargo install croque

From Homebrew

brew install ryooooooga/tap/croque

From precompiled binary

releases

Bash

# ~/.bashrc
eval "$(croque init bash)"

Zsh

# ~/.zshrc
eval "$(croque init zsh)"

Using Zinit

# .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

# ~/.config/fish/config.fish
croque init fish | source

Configuration

$ croque config > ~/.config/croque/config.yaml

Dependencies

~15–22MB
~461K SLoC