Skip to main content

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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xontrib_simplejump-0.6.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file xontrib_simplejump-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: xontrib_simplejump-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using 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.25.0 CPython/3.6.5

File hashes

Hashes for xontrib_simplejump-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c19a79c3f51bec26ce216dea08c8bc9dbac0d889be25eb14cd473beb5130d892
MD5 de798989e4affe92f807b6ebd263f69c
BLAKE2b-256 f61d9fa61b93b4af306eabba2aa2e262e5c37651b9254c8abb09a043475b158b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page