Commit fe4ac966 authored by Jonatan Skogsfors's avatar Jonatan Skogsfors Committed by Marc Cornellà
Browse files

jump: use more compatible flag for ln (#7205)

The flag '-h' isn't universal across implementation. According to FreeBSD man page for ln you can use 'n'.
parent 47004414
......@@ -19,7 +19,7 @@ mark() {
MARK="$1"
fi
if read -q \?"Mark $PWD as ${MARK}? (y/n) "; then
mkdir -p "$MARKPATH"; ln -sfh "$PWD" "$MARKPATH/$MARK"
mkdir -p "$MARKPATH"; ln -sfn "$PWD" "$MARKPATH/$MARK"
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment