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

Feature Request: Aliases similar to PSUPathAliases but for short functions #51

Open
corbob opened this issue Feb 6, 2019 · 1 comment

Comments

@corbob
Copy link
Contributor

corbob commented Feb 6, 2019

I often find myself wanting Aliases to work akin to bash where you can have an alias that actually does something more than just be shorthand for a command. IE: tail I often configure a function I call tail $file that does Get-Content -Tail 10 -wait $file

I would love to take what's been done with PSUPathAliases and expand it to allow something like that but with script blocks.

Before I spend a bunch of time on this, thought I would check if this is something that was already provided that I wasn't seeing, and if not, would you would find it useful? If it's useful, I will spend some time and submit a PR for this.

@FriedrichWeinmann
Copy link
Member

FriedrichWeinmann commented Feb 8, 2019

Heya @corbob ,
I don't have anything implemented for that yet, but I think that would make an awesome feature!
Would be happy to accept that into PSUtil

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

No branches or pull requests

2 participants