Crates.io | active-cd |
lib.rs | active-cd |
version | 0.1.0 |
source | src |
created_at | 2024-11-20 12:02:39.166922 |
updated_at | 2024-11-20 12:02:39.166922 |
description | A tui for the cd command |
homepage | |
repository | https://github.com/oli-ver-d/active-cd |
max_upload_size | |
id | 1454715 |
size | 25,127 |
This rust tool is a supplement to the default cd command, by visually displaying the subdirectories and assigning keybinds.
cargo install active-cd
This installs the binary, in order to move the terminal's working directory on exit you need to add the following to your .bashrc:
cda() {
cd "$(active-cd)"
}
Upon calling the command you are presented with a list of subdirectories. You can press their presented keybinds to move to them, as well:
q
- quit and move to selected pathesc
- quit and don't moveu
- move up a directory~
- move to home directory/
- move to root directory