jump-kun is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install jump-kun
It will make the jump-kun command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall jump-kun uninstalls.
Adding jump_kun library as a dependency
Run this command in a terminal, in your project's directory:
cargo add jump-kun
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
jump-kun = "0.4.16"
The jump_kun library will be automatically available globally.
Read the jump_kun library documentation .
Back to the crate overview .
Readme
jump-kun
Directory jumper made by Rust
Why jump-kun?
Can you count how many times did you typed cd on your teminal?
Typing..
cd \where \you\wanna\go
everytime is cumbersome.
Just use jump-kun.
jump-kun...
Automatically records dirs you visited and shows.
Lists parents and child dirs of current dirs
(This crate is heavyly inspired by b4b4r07's enhancd )
How to install
Run cargo install
cargo install jump-kun
(or clone this repo then...)
cargo install -- path .
Add following script to your .zshrc
(Might work on fish or bash, but not sure...)
function jump- kun- jump ( ) {
local selected= $ ( jump- kun)
if [ [ - n $selected ] ] ; then
\cd $selected
fi
}
Then type jump-kun-jump on your terminal.
WindowsOS
Sorry Windows users. jump-kun is not supported on WindowsOS.
jump-kun uses skim as a user interface and skim is dependent on tuikit.
Since tuikit is not supported on Windows, I can't guarantee that my library works on Windows.
Issue