diff --git a/plugins/jump/marks.fish b/plugins/jump/marks.fish index 2210164..07a3597 100644 --- a/plugins/jump/marks.fish +++ b/plugins/jump/marks.fish @@ -13,7 +13,10 @@ function marks echo "No marks currently defined." else for mark_name in $mark_list - echo "$mark_name -> "(readlink -f $MARKPATH/$mark_name) + cd $MARKPATH/$mark_name + set -l real_path (pwd) + cd - + echo "$mark_name -> $real_path" end end end