Skip to content

fioncat/roxide

Repository files navigation

roxide

roxide is a git repositories manager CLI, it is easy to use, and very fast!

roxide has good support for terminal use, including autocompletion and fuzzy search based on fzf.

Now roxide does not support Windows system

Install

Install roxide directly:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/fioncat/roxide/HEAD/install.sh)"

If you have Rust installed, you can build it from source:

cargo install --git https://github.com/fioncat/roxide

Config

All the config files is stored in ~/.config/roxide directory.

Shell Support

Now we support zsh and bash, it is recommended to use zsh for a better experience.

To enable completion and autojump, you need to add roxide init script to your shell profile:

source <(roxide init $(basename $SHELL))

# Optional, use `zz` to implement quick jump.
alias zz="rox home"

Then you can use cmd in config file to autojump, default is rox.

For example, use the following command to jump to roxide project:

rox home github fioncat/roxide

Usage

You can use <Tab> to complete command at any time!

Search global repos and jump:

rox home -s

Search repos under a remote and jump:

rox home github -s

Search repos under a owner and jump:

rox home github fioncat/

Global fuzzy matching and jump:

rox home rox # Will jump to repo whose name contains 'rox'

Fuzzy matching under remote and jump:

rox home github rox # Will jump to whose name contains 'rox' in github

Search and remove a repo from disk:

rox remove github fioncat/
rox remove github fioncat/roxide
rox remove rox

Remove all repos under an owner:

rox remove -r github fioncat/

For more commands and usages, please see: rox -h.