git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Automatic parameters completion

From
AAndrzej <borucki_andrzej@wp.pl>
Date
Feb 8, 2018, 14:03 UTC
Message-ID
<131f3b0f-0002-2823-d64b-ffd16fff8dfa@wp.pl>
In-Reply-To
<29b0272d-7854-592d-5e1c-3a4f0d347bd1@wp.pl>

I have Linux Mint and its terminal besides usual completion (add file name when type first letter and press tab) also can complete git parameters. How is doing this? Bash knows git or bash has special interface to completion and git uses it? I want in my Linux program apply this mechanism.

Previous: Patryk ObaraNext: Stephen R Guglielmo
Message 3 of 4 in “How juggle branches?”
  1. AndrzejJan 29, 2018
  2. Patryk ObaraJan 30, 2018
  3. Automatic parameters completionAndrzej, Feb 8, 2018
  4. Stephen R GuglielmoFeb 8, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.