github gsamokovarov/jump v0.30.0
0.30.0

latest releases: v0.51.0, v0.50.0, v0.41.0...
4 years ago

Welcome 0.30.0 in your lives. 🙌 Here's what changed:

XDG Config

Jump now stores its config in XDG compatible way. The search algorithm tries the directories in order:

  • $JUMP_HOME (if given)
  • $HOME/.jump (if already exists)
  • $XDG_CONFIG_HOME/jump (preferred for new installs)

We're moving towards XDG, but for existing installs or non-XDG supported systems, the ~/.jump dir will be used.

Settings

Jump is opinionated and we would recommend you to stick to the sweet hand-tuned defaults we have provided after years of research, however, we provide a few options that may be useful to hand tune yourself:

--space (values: slash (default), ignore)

The calls j parent child and j parent/child are equivalent by default because spaces are treated as OS separators (/ in Unix). You can choose to ignore spaces in searches by setting the spaces option to ignore:

jump settings --space=ignore

--preserve (values: false (default), true)

By default, landing in a directory that is no longer available on disk will cause jump to remove that directory from its database. If a jump lands in unmounted drive, the changing of the directory will timeout. This is why this is turned off (false) by default.

jump settings --preserve=true

--reset

Reset jump settings to their default values.

jump settings --reset

Decay

When you j miss and you land in the wrong directory, jump can let you go to the lesser scored entries of the miss term if you call j without arguments. Starting with 0.30.0 every time you call j it will deflate the score of the miss term which can let jump learn not to go to that bad directory over time.

Don't miss a new jump release

NewReleases is sending notifications on new releases.