croq

Crates.iocroq
lib.rscroq
version0.8.2
created_at2024-12-21 05:41:41.782237+00
updated_at2024-12-21 05:41:41.782237+00
descriptionFast and customizable shell prompt
homepage
repositoryhttps://github.com/voidxela/croq
max_upload_size
id1490766
size540,122
Alex Mullen (voidxela)

documentation

README

Croq

Fast and customizable shell prompt.

Optional Requirements

Installation

From source

cargo install croq

From Homebrew

brew install ryooooooga/tap/croq

From precompiled binary

releases

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
Commit count: 128

cargo fmt