Skip to content

Instantly share code, notes, and snippets.

View unforswearing's full-sized avatar

Alvin Charity unforswearing

View GitHub Profile
@unforswearing
unforswearing / helpers.sh
Last active February 24, 2023 05:24 — forked from jgornick/helpers.sh
Bash: Helper Functions
export MARKPATH="$HOME/.marks"
function jump {
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1"
}
function mark {
mkdir -p "$MARKPATH";
ln -s "$(pwd)" "$MARKPATH/$1"
}
function unmark {