#file #directory #config #create #parses #jump-kun #jumper

macro jump-kun-macros

A crate for jump-kun. Parses jump-kun config file and creates fucntions.

18 releases

0.1.17 Nov 6, 2024
0.1.16 Oct 1, 2023
0.1.15 Feb 9, 2023
0.1.14 Sep 11, 2022
0.1.0 Sep 21, 2019

#1815 in Procedural macros

44 downloads per month
Used in jump-kun

MIT license

4KB
64 lines

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.

demo

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

Dependencies

~0.5–11MB
~69K SLoC