Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Export GitTabExpansion #562

Closed
igrep opened this issue Apr 17, 2018 · 2 comments
Closed

[Request] Export GitTabExpansion #562

igrep opened this issue Apr 17, 2018 · 2 comments

Comments

@igrep
Copy link

igrep commented Apr 17, 2018

I've written a tiny module to configure aliases for git subcommands to omit typing git.

https://gitlab.com/igrep/pwsh-git-aliases/blob/master/GitAliases.psm1

Then, I want to configure TabExpansion for the generated aliases by reusing the GitTabExpansion function.
So can you export GitTabExpansion to make it reusable?

P.S. Thank you for an excellent module! I use it every day!

@dahlbyk
Copy link
Owner

dahlbyk commented Apr 17, 2018

Sure: #563

P.S. Thank you for an excellent module! I use it every day!

You are very welcome.

@dahlbyk
Copy link
Owner

dahlbyk commented Apr 17, 2018

Aside: instead of...

Enable-GitAliases([boolean] $avoidConflicts = $true)

It would be more PowerShell-y to use:

Enable-GitAliases([switch] $AllowClobber)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants