Thread (4 messages) 4 messages, 3 authors, 2022-01-25

Re: Some sub-commands can't be completed by TAB key.

From: Hongyi Zhao <hidden>
Date: 2022-01-24 01:48:19

On Mon, Jan 24, 2022 at 3:51 AM Junio C Hamano [off-list ref] wrote:
Philippe Blain [off-list ref] writes:
quoted
quoted
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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help