From 89655b2edf8f949a2d9756c552c1d42801c154f9 Mon Sep 17 00:00:00 2001 From: Charles Thorley Date: Tue, 10 Dec 2013 18:29:42 -0800 Subject: [PATCH] Actually, let's stick to builtins --- plugins/jump/marks.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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