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

git completions should support aliases for git command. #1962

Closed
ghost opened this issue Mar 1, 2015 · 3 comments
Closed

git completions should support aliases for git command. #1962

ghost opened this issue Mar 1, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 1, 2015

There is already completion support for git aliases like <command> = <alias> inside your gitconfig, but we are out of luck if we want to use an alias for the git command itself, like

function g; git $argv; end

While we are at it, how difficult would be to add completion support for any command aliases?

@zanchey
Copy link
Member

zanchey commented Mar 14, 2015

I think you can use function g --wraps git; git $argv; end in this instance.

@ridiculousfish
Copy link
Member

zanchey's right; closing. Thanks zanchey.

@ghost
Copy link
Author

ghost commented Mar 14, 2015

👍

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants