Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

jumpy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jumpy

A simple command-line jump utility

npmnpm
Version
1.0.4
Version published
Weekly downloads
11
266.67%
Maintainers
1
Weekly downloads
 
Created
Source

jumpy

A simple command-line jump utility

Usage (lite)

cd /Users/duncan/working
jump -a # Adds `/Users/duncan/working` as `working`
cd ~/Documents
jump working
pwd # /Users/duncan/working

Usage

Before you can use it, you should probably install it!

Step 1 - npm

npm install -g jumpy

Step 2 - your bashrc/zshrc/whateverrc

Add the following line: source /.npm-packages/lib/node_modules/jumpy/jump

Protip: Add alias j='jump' while you're there

Now use it

j -a - adds the current directory to your alias list

j -a --as <alias> - as above, but aliased to <alias> rather than the directory name

j -s <server> --as <alias> - adds the given server to the alias list under the given alias

j -r - removes the current directory from your alias list

j -r foo - removes the foo alias

j -l - print all current aliases

j -h - show the help screen

Zsh Completion

Make sure you've run jumpy at least once first.

Add this to your ~/.zshrc:


fpath=(~/.jump_completions $fpath)
autoload -U compinit
compinit
zstyle ':completion:*' menu select=2
compdef _jump j # You only need this line if you aliased "jump" to "j"

Copyright Duncan Smith 2015

FAQs

Package last updated on 30 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts