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

When more than one identical alias is defined tab completion fails #421

Closed
rkeithhill opened this issue Feb 16, 2017 · 0 comments · Fixed by #422
Closed

When more than one identical alias is defined tab completion fails #421

rkeithhill opened this issue Feb 16, 2017 · 0 comments · Fixed by #422
Assignees
Milestone

Comments

@rkeithhill
Copy link
Collaborator

System Details

  • posh-git version: 0.7.0
  • PowerShell version: 5.1.14393.693
  • git version 2.11.0.windows.1
  • OS: Microsoft Windows NT 10.0.14393.0

Issue Description

If there is both a global and local alias for say co -> checkout, then tab completion fails, e.g.: git co ma<tab> doesn't complete to master. That's because the expandGitAlias function is not expecting more than one string that matches.

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

Successfully merging a pull request may close this issue.

1 participant