Re: Some sub-commands can't be completed by TAB key.
- From
- Hongyi Zhao <hongyi.zhao@gmail.com>
- Date
- Jan 24, 2022, 01:42 UTC
- Message-ID
- <CAGP6POK22pCY+_bMCnwRx3h0kE9GpZoq1Pk2hJZoyE_O06WnDw@mail.gmail.com>
- In-Reply-To
- <xmqqpmoi9qna.fsf@gitster.g>
On Mon, Jan 24, 2022 at 3:51 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> > Philippe Blain <levraiphilippeblain@gmail.com> writes: > > >> I see the following: > >> > >> $ git l<TAB> > >> latexdiff log > > > > This would mean you have a 'git-latexdiff' command somewhere in your PATH. > > True. On Debian-based systems, the texlive-extra-utils package has > /usr/bin/git-latexdiff and that is likely where it came from.
Mine comes from TexLive:
$ which git-latexdiff /opt/texlive/2021/bin/x86_64-linux/git-latexdiff
Show 7 quoted lines
> It is also worth noting that completion will also include whatever > alias. I get "lg" in the mix because I have > > [alias] > lg = "log --oneline" > > in my $HOME/.gitconfig, for example.
Good example. Got it.
HZ