1 unstable release
new 0.8.2 | Dec 21, 2024 |
---|
#5 in #fish
385KB
4.5K
SLoC
Croq
Fast and customizable shell prompt.
Optional Requirements
Installation
From source
cargo install croq
From Homebrew
brew install ryooooooga/tap/croq
From precompiled binary
Bash
# ~/.bashrc
eval "$(croq init bash)"
Zsh
# ~/.zshrc
eval "$(croq init zsh)"
Using Zinit
# .zshrc
zinit light-mode from'gh-r' as'program' for \
atclone'./croq init zsh >croq.zsh; zcompile croq.zsh' atpull'%atclone' \
src'croq.zsh' \
@'Ryooooooga/croq'
Fish
# ~/.config/fish/config.fish
croq init fish | source
Configuration
$ croq config > ~/.config/croq/config.yaml
Dependencies
~16–46MB
~729K SLoC