Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
- From
- Perry Wagle <wagle@cs.indiana.edu>
- Date
- Aug 27, 2008, 19:43 UTC
- Message-ID
- <B83CC7EA-C77E-45CA-B9C5-FC81A8C0C9A5@cs.indiana.edu>
- In-Reply-To
- <48B5098E.748.A598B62@Ulrich.Windl.rkdvmks1.ngate.uni-regensburg.de>
On Aug 26, 2008, at 11:00 PM, Ulrich Windl wrote:
Show 5 quoted lines
> On 26 Aug 2008 at 18:45, Andi Kleen wrote: >> git<space><tab><tab>.... what? 140-something commands? etc.etc. > Whether files in /usr/bin, or command completions: Long linear lists > are a thing > humans don't like.
Bash and other shells use hash tables to store the commands in the PATH.
Doing git-<tab> was shocking to me at first, but it also showed me a list of commands for me to learn.
Now I guess that when everything's fixed up, I'll have to put in a space instead of a dash to get exactly the same thing.
What difference did changing the dash to a space make?
-- Perry