jumpto

Crates.iojumpto
lib.rsjumpto
version0.1.0
sourcesrc
created_at2020-08-06 21:31:29.245745
updated_at2020-08-06 21:31:29.245745
descriptionSimple CLI utility to navigate to directories
homepagehttps://github.com/celeo/jumpto
repositoryhttps://github.com/celeo/jumpto
max_upload_size
id273763
size37,292
Matt Boulanger (Celeo)

documentation

README

jumpto

CI Crates.io License

Simple CLI utility to navigate to directories.

Installing

cargo install jumpto

Using

Since shells spawn subprocesses for running commands, there's an extra step required to set up this program. Running

jumpto script

shows a Bash script that takes the runtime arguments, runs the program, looks to see if it needs to change directory, and then does so. You can name this script 'jt' with something like:

jumpto script > ~/.cargo/bin/jt
chmod +x ~/.cargo/bin/jt

Then, calling the program can be done via:

source jt <arguments>

The next improvement will remove the necessity to include 'source ' when calling the script.

Developing

Building

Requirements

  • Git
  • A recent version of Rust

Steps

git clone https://github.com/Celeo/jumpto
cd jumpto
cargo build

License

Licensed under either of

Contributing

Please feel free to contribute. Please open an issue first (or comment on an existing one) so that I know that you want to add/change something.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 7

cargo fmt