mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
marks output columnized
This commit is contained in:
parent
a0e74e0008
commit
7169901224
@ -16,11 +16,13 @@ function marks
|
||||
echo "No marks currently defined."
|
||||
else
|
||||
set -l current_dir (pwd)
|
||||
set -l output ""
|
||||
for mark_name in $mark_list
|
||||
cd $MARKPATH/$mark_name
|
||||
set -l real_path (pwd)
|
||||
echo "$mark_name -> $real_path"
|
||||
set output "$output$mark_name -> $real_path"\n
|
||||
end
|
||||
echo $output | column -t
|
||||
cd $current_dir
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user