3 releases (breaking)
Uses new Rust 2024
0.3.0 | May 4, 2025 |
---|---|
0.2.0 | Apr 29, 2025 |
0.1.0 | Apr 29, 2025 |
#2730 in Command line utilities
391 downloads per month
23KB
437 lines
warp-directory
Easily switch between directories in your terminal with warp points. Supports zsh and bash.
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.5–9MB
~83K SLoC