The simplest way to jump between directories.
Project description
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]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size xontrib_simplejump-0.6.6-py3-none-any.whl (2.7 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Close
Hashes for xontrib_simplejump-0.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899ef0e2f6b2effa698447599271c5a5f9613d3e7beff6ccd1ed4651395e6576 |
|
MD5 | db3b324e9ae1c62e11e9588d1c1551da |
|
BLAKE2-256 | 2e9a41b08670c68adb0a42e7e3afb9ad74155cda619d54c263375881c8196d64 |