gluons / powershell-git-aliases

:octocat: Oh My Zsh's Git aliases for PowerShell.
https://www.powershellgallery.com/packages/git-aliases/
MIT License
417 stars 49 forks source link

Feature request: do not overwrite built-in aliases by default #36

Open tddschn opened 2 years ago

tddschn commented 2 years ago

aliases.ps1 removes powershell's built-in aliases, however, not all users would consider that behavior desirable.

One possible alternative is that
Import-Module git-aliases -DisableNameChecking doesn't remove those aliases silently
and only defines git aliases that doesn't conflict with the built-in ones,
and export a command, say Import-Conflict-Git-Aliases to remove built in aliases and set the previously conflicting ones.