Crates.io | AJ_jmp |
lib.rs | AJ_jmp |
version | |
source | src |
created_at | 2024-12-01 01:24:22.105514 |
updated_at | 2024-12-01 01:24:22.105514 |
description | jump to a directory |
homepage | |
repository | |
max_upload_size | |
id | 1467106 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
How to use jmp: On its own, rust cannot change your current directory, so you will need to get some bash involved.
Now when you want to run it, simply type from anywhere jmp
Example: jmp goal.txt /C/Some/File/Path this will take you to the directory containing the file goal.txt
Limitation: This does not work "up" the filetree, if you are trying to jump to a folder outside of the folder you are running it from, you will need to give some sort of starting file path, you cant just start from ../../ or so on.