Myjump works correctly now
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
export MARKPATH=$HOME/.marks
|
||||
|
||||
jump() {
|
||||
if [ "$2" == "-p" ]; then
|
||||
echo "$MARKPATH/$1"
|
||||
if [[ "$2" == "-p" ]]; then
|
||||
readlink "$MARKPATH/$1"
|
||||
else
|
||||
cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1"
|
||||
fi
|
||||
Reference in New Issue
Block a user