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

Re: [PATCH 5/8] bash: Classify more commends out of completion.

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 5, 2007, 02:37 UTC
Message-ID
<20070205023726.GA12917@spearce.org>
In-Reply-To
<eq4cn7$9ae$2@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 5 quoted lines
> Shawn O. Pearce wrote:
> 
> [cut]
> 
> Sidenote: do you have git-config and git-init as commands to use?

Yes. init and config are not in that table, which means they will be offered as possible completions. The table defaults to include every command, I filter out stuff which people aren't expected to be running (frequently) from an interactive shell. Err on the side of caution...

But not only is config in the table, we support completion on lots of the arguments, e.g. `git config branch.ma<tab>.re<tab>` (for branch.master.remote).

-- 
Shawn.
Previous: Jakub Narebski
Message 5 of 5 in “bash: Classify more commends out of completion.”
  1. 5/8 bash: Classify more commends out of completion.Shawn O. Pearce, Feb 4, 2007
  2. Junio C HamanoFeb 4, 2007
  3. Shawn O. PearceFeb 4, 2007
  4. Jakub NarebskiFeb 4, 2007
  5. Shawn O. PearceFeb 5, 2007

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.