autocomplete icon indicating copy to clipboard operation
autocomplete copied to clipboard

[git] Aliases from .gitconfig should be suggested first over default commands

Open codentacos opened this issue 4 years ago • 3 comments
trafficstars

Completion Spec

What completion spec does this enhancement refer to? Or is it Fig itself? subcommands

Description

Aliases from files such as .gitconfig are shown at the bottom of suggested autocompletes until used and then they are only shown as recently used. These commands should take priority over default commands.

Ex: git st should take priority over git stash

Expected result

git st would be shown as the first suggested command over git stash as well as any other applicable subcommands that have aliases

Actual result

git stash is suggested first unles git st was recently used

codentacos avatar May 04 '21 14:05 codentacos

Hey there @codentacos, thank you very much for bringing up this Idea! We put it on our Roadmap and will let you know once this is Fig!

cstrnt avatar May 25 '21 09:05 cstrnt

Hi,

Fig was working like that for me (my alias was shown before the rest of the commands) until a couple of days ago. I don't know if this is a bug as this issue suggest that the feature wasn't implemented.

kcmr avatar Sep 02 '21 20:09 kcmr

Aliases should be merged in so I am closing this!

brendanfalk avatar Nov 23 '22 18:11 brendanfalk