warp icon indicating copy to clipboard operation
warp copied to clipboard

Autocomplete doesn't work with git aliasses

Open wesleylether opened this issue 4 years ago • 3 comments

Discord username (optional)

wesleylether#3749

Describe the bug

I have configured some GitHub aliases like checkout for co. But when I use these, I cannot select through the branches.

To Reproduce

Steps to reproduce:

  1. Create a custom alias with git config --global --edit:
[alias]
    co = checkout
  1. use shortcut with git co <branch_name> and if you type the first letters of the branch.

Expected behaviour

When u use git checkout <branch_name> the popup will appear for the available branches.

So when u want to use git co <branch_name> you want to see the same popup.

Operating System

MacOS

OS Version

12.1

Additional context

Handy to know: gco the shortcut of git plugin from oh-my-zsh does work! It looks like when you use spaces the pipe through doesn't work correctly.

Thanks team Warp! Loving it!

wesleylether avatar Apr 08 '22 07:04 wesleylether

Probably related to this, zsh-abbr plugin is not working either

andrewkharook avatar Apr 10 '22 08:04 andrewkharook

Duplicate: GitHub issue for supporting completions for Git aliases: https://github.com/warpdotdev/Warp/issues/562

warpdotdev-devx avatar Apr 12 '22 05:04 warpdotdev-devx

Closed because of duplicate

wesleylether avatar Apr 12 '22 07:04 wesleylether