https://github.com/rockwotj/jump
Jump around your filesystem
https://github.com/rockwotj/jump
cli filesystem rust
Last synced: 2 months ago
JSON representation
Jump around your filesystem
- Host: GitHub
- URL: https://github.com/rockwotj/jump
- Owner: rockwotj
- License: mit
- Created: 2016-12-24T23:41:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-25T06:14:50.000Z (over 8 years ago)
- Last Synced: 2025-02-16T08:03:07.285Z (4 months ago)
- Topics: cli, filesystem, rust
- Language: Rust
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jump
A small program to move around the filesystem.
Inspired by [teleport](https://github.com/bollu/teleport)
## Install
Install this by `cargo install` in the project directory. You'll need rust nightly installed to compile this. If you're on MacOS, then you can download the binaries from the releases page.
Once you've installed the binaries on your $PATH, you'll want to add the following function to your `bash_alias` or profile.
```bash
function j() {
OUTPUT=`jump $@`
if [ $? -eq 0 ]
then cd "$OUTPUT"
else echo "$OUTPUT"
fi
}
```You can then use the `jump-cfg` binary to set your workspace and jump markers, then the `j` function to go to those markers or directories in your workspace.