mirror of
https://github.com/lowne/fish-prompt-metro.git
synced 2024-10-27 20:34:12 +00:00
4 lines
155 B
Fish
4 lines
155 B
Fish
function git_repository_root -d "Get the top level directory of the current git repository"
|
|
git_is_repo; and command git rev-parse --show-toplevel
|
|
end
|