Wittionary / dotfiles

Configurations and shortcuts!
6 stars 0 forks source link

Improve "is git directory" cmdlet #2

Closed Wittionary closed 3 years ago

Wittionary commented 3 years ago

Right now it recursively traverses the current working directly at each line return and evaluates whether a .git exists. Could be improved by detecting whether current working directory is a child of the path set in the $env:git variable - which is a pre-req to the Profile.ps1 working as intended.

Wittionary commented 3 years ago

Forgot to open a PR. This is complete with the push of commit a75230b