Easily switch between directories in your terminal with warp points. Supports zsh and bash.
Install the warp-directory
binary using cargo
:
cargo install warp-directory
Clone the repository and install the warp-directory
binary using cargo
:
cargo install --path .
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.
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