1 unstable release
0.1.0 | Aug 6, 2020 |
---|
#25 in #jump
14KB
194 lines
jumpto
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
- Apache License, Version 2.0, (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
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.
Dependencies
~5–12MB
~125K SLoC