mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-20 05:42:46 +08:00
Merge pull request #192 from grelkin-features/columnize-marks-output
This commit is contained in:
commit
591330b12c
|
@ -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