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

Expand aliases to find better aliases #4

Open
Tracked by #15
codyduong opened this issue Apr 3, 2023 · 0 comments
Open
Tracked by #15

Expand aliases to find better aliases #4

codyduong opened this issue Apr 3, 2023 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@codyduong
Copy link
Owner

codyduong commented Apr 3, 2023

Parse commands in the pre-exec hook to see if they are already aliased, if so, reexpand out if possible to see if there are better aliases

Setup

function gcm {
	$MainBranch = Get-Git-MainBranch

	git checkout $MainBranch $args
}

Currently

No alias recommended

$ gco master
:

Expected

Recommend better alias

$ gco master
Alias tip: gcm
:
@codyduong codyduong added the bug Something isn't working label Apr 3, 2023
@codyduong codyduong self-assigned this Apr 3, 2023
@codyduong codyduong added the enhancement New feature or request label Dec 4, 2023
@codyduong codyduong mentioned this issue Dec 16, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant