#directory #warp #config #warp-directory

bin+lib warp-directory

A simple command line tool to quickly change directories

2 unstable releases

Uses new Rust 2024

new 0.2.0 Apr 29, 2025
0.1.0 Apr 29, 2025

#2728 in Command line utilities

GPL-3.0-or-later

22KB
385 lines

warp-directory-rs

Crates.io Version GitHub Release GitHub Actions Workflow Status GitHub License

Save a list of directories and easily switch to them. Currently, zsh and bash are supported.

Installation

Via cargo

Install the warp-directory binary using cargo:

cargo install warp-directory

Build from source

Clone the repository and install the warp-directory binary using cargo:

cargo install --path .

Configuration

Add the following to your zsh configuration file (e.g., ~/.zshrc or ~/.bashrc):

If running zsh:

eval "$(warp-directory init zsh)"

Or, if you run bash:

eval "$(warp-directory init bash)"

Source your config or open a new terminal.

Usage

List warp points:

warp list

Add a warp point:

warp add <name> <path>

If <path> is not provided, the current directory will be used. You can add a description that will be shown when using warp list by using the --description flag.

Remove a warp point:

warp delete <name>

Show the help message:

warp --help

Dependencies

~1.6–9MB
~83K SLoC