Crates.io | jumpto |
lib.rs | jumpto |
version | 0.1.0 |
source | src |
created_at | 2020-08-06 21:31:29.245745 |
updated_at | 2020-08-06 21:31:29.245745 |
description | Simple CLI utility to navigate to directories |
homepage | https://github.com/celeo/jumpto |
repository | https://github.com/celeo/jumpto |
max_upload_size | |
id | 273763 |
size | 37,292 |
Simple CLI utility to navigate to directories.
cargo install jumpto
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.
git clone https://github.com/Celeo/jumpto
cd jumpto
cargo build
Licensed under either of
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.