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
96 downloads per month
390KB
4.5K
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
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