On Wed, Nov 13, 2013 at 6:36 AM, Leira Hua wrote:
> Mandeep Sandhu writes:
>
>>
>> So this is basically looking for aliases created via git itself ('git config
>> alias.gco checkout' etc).
>>
>> To fix your issue, you either need to define an alias with git, or modify the
>> __fish_git_using_comm
On Tue, Nov 12, 2013 at 8:57 PM, justin wrote:
> But with aliases like `gco`, the git completion wouldn't even fire.
You're right! 'gco' won't even trigger the git completion as the
command doesn't have a corresponding completion file. My bad.
-mandeep
>
>
> On Mon, Nov 11, 2013 at 11:56 PM, M
On Wed, 13 Nov 2013, Leira Hua wrote:
> Mandeep Sandhu writes:
>
> >
> > So this is basically looking for aliases created via git itself ('git config
> > alias.gco checkout' etc).
> >
> > To fix your issue, you either need to define an alias with git, or modify
> > the
> > __fish_git_using_com
Mandeep Sandhu writes:
>
> So this is basically looking for aliases created via git itself ('git config
> alias.gco checkout' etc).
>
> To fix your issue, you either need to define an alias with git, or modify the
> __fish_git_using_command function to check if the given command is a shell
> al
But with aliases like `gco`, the git completion wouldn't even fire.
On Mon, Nov 11, 2013 at 11:56 PM, Mandeep Sandhu <
mandeepsandhu@gmail.com> wrote:
> I think the reason completion is not working is because of this line
> in share/completions/git.fish:
>
> function __fish_git_using_comman
I think the reason completion is not working is because of this line
in share/completions/git.fish:
function __fish_git_using_command
...
# aliased command
set -l aliased (command git config --get "alias.$cmd[2]" ^
/dev/null | sed 's/ .*$//')
...
So this is basically looking for aliases crea
I used to use some git aliases in zsh like this one:
alias gco='git checkout'.
I just switched to fish, and ported the these aliases to fish. Then I found a
completion issue, maybe caused by the reason that fish doesn't support "real"
alias. Here is my understanding:
In zsh, it knows gco is simp