simplejump
Overview
The simplest way to jump between directories.
Installation
pip install xontrib-simplejump
Motivation
I wanted a simple and efficient alternative to z, fasd and other jump scripts.
simplejump algorithm:
- on directory change: associate the base name to the full path of a dir in simplejump dict
- on user search: return the exact match or the smaller partial match from simplejump dict
- on tabcomplete: return the list of simplejump dict keys that match the command prefix
- on shell init: load the dict from simplejump file or an empty dict
- on shell exit: store the dict in simplejump file using json format
simplejump design:
- keys/names are case insensitive, values/paths are case sensitive
simplejump vars:
- simplejump file: $SIMPLEJUMP_FILE
- simplejump dict: $SIMPLEJUMP_DICT
simplejump file:
- simplejump file: ~/.simplejump
Example
simplejump [DIR]
Metadata
Release files for xontrib-simplejump 0.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xontrib_simplejump-0.6.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / xontrib_simplejump-0.6.6-py3-none-any.whl
| Download URL | xontrib_simplejump-0.6.6-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
899ef0e2f6b2effa698447599271c5a5f9613d3e7beff6ccd1ed4651395e6576
|
|
BLAKE2b-256 checksum How to use checksums |
2e9a41b08670c68adb0a42e7e3afb9ad74155cda619d54c263375881c8196d64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
|