Commit 71699012 authored by Alexander Grigoriev's avatar Alexander Grigoriev Committed by Bruno Pinto

marks output columnized

parent a0e74e00
...@@ -16,11 +16,13 @@ function marks ...@@ -16,11 +16,13 @@ function marks
echo "No marks currently defined." echo "No marks currently defined."
else else
set -l current_dir (pwd) set -l current_dir (pwd)
set -l output ""
for mark_name in $mark_list for mark_name in $mark_list
cd $MARKPATH/$mark_name cd $MARKPATH/$mark_name
set -l real_path (pwd) set -l real_path (pwd)
echo "$mark_name -> $real_path" set output "$output$mark_name -> $real_path"\n
end end
echo $output | column -t
cd $current_dir cd $current_dir
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment