1 unstable release

0.1.0 Nov 20, 2024

#377 in Command-line interface

Download history 144/week @ 2024-11-18 8/week @ 2024-11-25

152 downloads per month

MIT license

12KB
258 lines

Active CD

This rust tool is a supplement to the default cd command, by visually displaying the subdirectories and assigning keybinds.

Installation

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)"
}

Usage

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 path
  • esc - quit and don't move
  • u - move up a directory
  • ~ - move to home directory
  • / - move to root directory

Dependencies

~2–14MB
~141K SLoC