jump v0.20.0 Release Notes

Release Date: 2018-07-21 // over 5 years ago
  • ๐Ÿš€ For variety of reasons jump may not always find the directory you want, but don't worry you can make it stick! ๐Ÿ“Œ This release is all about those pins, baby! ๐Ÿ“

    A pin forces an input to always go to a specific location. If you want j r to always go to /Users/genadi/development/rails, you can do:

    $ cd /Users/genadi/development/rails $ jump pin r $ cd$ j r # Skips the scoring and goes straight to the pinned directory.$ pwd/Users/genadi/development/rails
    

    ๐Ÿ”” Notice the jump command instead of the j shell function helper. j will always treat its input as searched terms. It may apply some heuristics to the way the input looks, but it will never accept arguments or switches. Here is where the jump command comes in. It is bundled with lot's of helpers to make your j life easier. The pins are one of them.

    • ๐Ÿšš jump pin has been revamped and supports spaces in its input. This means that the support for explicit directory is removed from the command-line options.
    • ๐Ÿšš jump unpin is a new command that lets you remove a pin.
    • jump pins is a new command that lists the current pins.

    ๐Ÿ“Œ Happy pinning, y'all!