function jump
  if test (count $argv) -ne 1
    echo "Usage: jump <MARK_NAME>"
  else
    if test -d $MARKPATH/$argv[1] -a -L $MARKPATH/$argv[1]
      cd $MARKPATH/$argv[1]
      cd (pwd -P)
    else
      echo "No such mark: $argv[1]"
    end
  end
end

function jump
  if test (count $argv) -ne 1
    echo "Usage: jump <MARK_NAME>"
  else
    if test -d $MARKPATH/$argv[1] -a -L $MARKPATH/$argv[1]
      cd (readlink $MARKPATH/$argv[1])
    else
      echo "No such mark: $argv[1]"
    end
  end
end

Use readlink to determine the path
Use readlink to determine the path
oh-my-fish/plugin-jump