https://github.com/pansila/fastjump
Jump to any directory fast and smart in the shell
https://github.com/pansila/fastjump
bash clink fish powershell rust tcsh zsh
Last synced: 4 months ago
JSON representation
Jump to any directory fast and smart in the shell
- Host: GitHub
- URL: https://github.com/pansila/fastjump
- Owner: pansila
- License: mit
- Created: 2021-05-05T12:55:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-16T12:47:28.000Z (over 4 years ago)
- Last Synced: 2025-02-26T02:45:34.868Z (8 months ago)
- Topics: bash, clink, fish, powershell, rust, tcsh, zsh
- Language: Rust
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fastjump
Jump to any directory fast and smart in the shell.
It's a port of the wildly popular CLI helper [autojump](https://github.com/wting/autojump) from Python to Rust.
# Why porting
1. `autojump` is no long maintained and there are a few bugs preventing people from enjoying it.
2. The author is really tired of `autojump` breakage inside Python `virtualenvs`.
3. Rust is simply awesome for CLI applications, with its performance and (code) slickness!
4. There is another Rust port of [autojump](https://github.com/xen0n/autojump-rs), which targets a drop-in replacement of `autojump`. This project instead aims at faster CLI invoking and responding (by injecting into shell).
# Install
We have [prebuilt binaries](https://github.com/pansila/fastjump/releases) available, thanks to the [trust](https://github.com/japaric/trust) project!
(need more instructions here)
# Features
- [x] By re-writing in Rust, `fastjump` is more light-weight than python version of `autojump`. As the program itself is very short-running, the overhead of setting up and tearing down a whole Python VM could be overwhelming, especially on less capable hardware.
```
(some benchmarks need to go here)
```
- [x] Using `serde` with `bincode` to provide a faster serialization/deserialization for the database.
- [x] Getting rid of `regex` to speed up the searching and shrink the executable size.
- [ ] Jump to any directory on Windows by integrating with bleeding fast file searcher [Everything](https://www.voidtools.com/) (WIP).
- [ ] luck mode, `j` to the most recently accessed directory.
# Compatibility
1. All of the command line flags and arguments of `autojump` are implemented, and behave exactly like the original. All other shell features like tab completion should work too. (Except jc and jco; see below.)
2. Since we use `bincode` to support database, it's not a drop-in replacement of `autojump`. However we provide a tool to import `autojump`'s database to re-use your work history.
# Contributing
For any questions or issues please visit:
https://github.com/pansila/fastjump/issues
Welcome PRs.