Skip to content

Instantly share code, notes, and snippets.

Created Feb 21, 2015
What would you like to do?
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