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

Bash completion Issue?

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Nov 4, 2006, 12:36 UTC
Message-ID
<200611041236.59989.alan@chandlerfamily.org.uk>

I am experiencing (and have for some time) a strange effect with bash completion on my Debian (Unstable) system. Is this a git problem, or something else?

When I type a normal command on the bash command line (say emacs) followed by the partial directory name the completion completes the directory and then adds a slash. If I type a git command (say git update-index) with the same partial directory name it completes the directory, but then adds a space. I have to backspace, manually add the slash, before continuing with the next directory or filename.

In debian, there seems to be a directory /etc/bash_completion.d with files for each of the packages, and the debian git packages have entries in there. So I assume they are derived from the completion work mentioned on this list.

What seems strange to me is that nobody else has mentioned this before now.
-- 
Alan Chandler
Next: Shawn Pearce
Message 1 of 8 in “Bash completion Issue?”
  1. Alan ChandlerNov 4, 2006
  2. Shawn PearceNov 4, 2006
  3. Alan ChandlerNov 5, 2006
  4. Shawn PearceNov 5, 2006
  5. Alan ChandlerNov 5, 2006
  6. Alan ChandlerNov 5, 2006
  7. Shawn PearceNov 5, 2006
  8. Jakub NarebskiNov 5, 2006

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.