Enhancement: root cwd at a git repo
Open
enhancement
- Dominant language
- Shell
- Stars
- 856
- Forks
- 368
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
### Describe the feature you'd like
Like starship.rs and other tools like ripgrep or fzf, whenever you are in a git repo the tools will "root" you into the root of the project directory. Given that I am often working within git repos, I would like for the cwd to be shortened to "root" the position into the root of a git repo.
### Describe risks you've considered
This is a breaking change and would change the default behaviour for people, so putting it behind a feature flag would be good.
Example behaviour/inspo. here: https://github.com/airblade/vim-rooter
Contributor guide
Assessment
This issue has not been assessed yet.