mirror of
https://github.com/mbollmann/fishpkgs.git
synced 2025-06-13 12:53:58 +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
|