Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryooooooga/croque
Fast and customizable shell prompt
https://github.com/ryooooooga/croque
fish fish-prompt shell-prompt zsh zsh-prompt zsh-theme
Last synced: 27 days ago
JSON representation
Fast and customizable shell prompt
- Host: GitHub
- URL: https://github.com/ryooooooga/croque
- Owner: Ryooooooga
- License: other
- Created: 2023-02-12T10:30:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-09T14:09:55.000Z (29 days ago)
- Last Synced: 2024-10-12T02:03:03.430Z (27 days ago)
- Topics: fish, fish-prompt, shell-prompt, zsh, zsh-prompt, zsh-theme
- Language: Rust
- Homepage:
- Size: 518 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Croque
[![](https://github.com/Ryooooooga/croque/workflows/Build/badge.svg)](https://github.com/Ryooooooga/croque/actions)
[![](https://badgen.net/crates/v/croque)](https://crates.io/crates/croque)Fast and customizable shell prompt.
![](docs/screenshot.png)
## Optional Requirements
- [gh](https://github.com/cli/cli)
- [glab](https://docs.gitlab.com/ee/integration/glab)## Installation
### From source
```sh
cargo install croque
```### From Homebrew
```sh
brew install ryooooooga/tap/croque
```### From precompiled binary
[releases](https://github.com/Ryooooooga/croque/releases)
### Bash
```bash
# ~/.bashrc
eval "$(croque init bash)"
```### Zsh
```zsh
# ~/.zshrc
eval "$(croque init zsh)"
```#### Using [Zinit](https://github.com/zdharma-continuum/zinit)
```zsh
# .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
```fish
# ~/.config/fish/config.fish
croque init fish | source
```## Configuration
```sh
$ croque config > ~/.config/croque/config.yaml
```