Skip to content

Instantly share code, notes, and snippets.

@mvasilkov
Created February 21, 2015 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvasilkov/9b8be5508d48e80369ff to your computer and use it in GitHub Desktop.
Save mvasilkov/9b8be5508d48e80369ff to your computer and use it in GitHub Desktop.
Bash jmp script
function jmp { cd -P "$JMP_PATH/$1" 2>/dev/null || echo Not found; }
function setjmp { ln -s "`pwd`" "$JMP_PATH/$1"; }
function deljmp { rm -i "$JMP_PATH/$1"; }
export JMP_PATH="$HOME/.jmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment