easychangedirectory

Tools for easy cd

License License Rust release

Dual-licensed under Apache 2.0 or MIT.

Features / Usage / Support / Installation / Environment variable / After this

Features

demo

Usage

Command ed

| Key | Description | | ---------------------------- | ------------------------------------------- | | k | Move up | | j | Move down | | h | Move parent directory | | l | Move Child directory | | Home | Move to top | | End | Move to bottom | | PageUp | Skip a little and move up | | PageDown | Skip a little and move down | | Enter c ; | Change directory to current directory | | Esc Ctrl+c q | Exit and return to original directory | | Insert Ctrl+s | Search mode switch (Char key will not work) | | Backspace | Delete one character from the search string | | Delete | Delete all search strings |

Please let us know if you have any key map requests. If it is traditional, we will add it immediately.

Support

| Shell | Windows | Linux (Ubuntu) | Mac | | -------------- | :-----------: | :------------: | :-------: | | Bash | 🗸 | 🗸 | ? | | Fish | ? | 🗸 | ? | | Powershell | 🗸 | 🗸 | ? |

Installation

Install

cargo install --locked easychangedirectory

We will add more as needed.

Register easychangedirectory in shell

Bash

Add to ~/.bashrc (Change as necessary)

eval "$(easychangedirectory --init bash)"

Run . ~/.bashrc as needed

Fish

Add to ~/.config/fish/config.fish (Change as necessary)

easychangedirectory --init fish | source

Run . ~/.config/fish/config.fish as needed

Powershell

Add to the file found by echo $profile

Invoke-Expression (& { (easychangedirectory --init powershell | Out-String) } )

Run . $profile as needed

Environment variable

After this