mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 00:40:07 +00:00
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'.
This commit is contained in:
parent
47004414a0
commit
fe4ac966fa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue