Fast and customizable shell prompt.
cargo install croq
brew install ryooooooga/tap/croq
# ~/.bashrc
eval "$(croq init bash)"
# ~/.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'
# ~/.config/fish/config.fish
croq init fish | source
$ croq config > ~/.config/croq/config.yaml