[haiku-bugs] Re: [Haiku] #5950: shell's auto completion does not work with "dd" command!?

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 15 May 2010 15:31:15 -0000

#5950: shell's auto completion does not work with "dd" command!?
---------------------------------------------+------------------------------
 Reporter:  khallebal                        |       Owner:  nobody        
     Type:  bug                              |      Status:  new           
 Priority:  normal                           |   Milestone:  R1            
Component:  Applications/Command Line Tools  |     Version:  R1/Development
 Keywords:                                   |   Blockedby:                
 Platform:  x86                              |    Blocking:                
---------------------------------------------+------------------------------

Comment(by bonefish):

 Replying to [comment:3 Disreali]:
 > I have never experienced it not working. On what rev did you find it to
 fail?

 I verified it with r36787. There haven't been any changes to the script
 for a while. E.g. type "dd if=/d" and hit tab: Doesn't work. Remove or
 rename `/etc/bash_completion` and retry in a fresh shell: Does work.

 > I find the auto-complete function extremely useful and use it often. I
 would hate to see it removed.

 Don't confuse bash's built-in completion of command and path names with
 the `bash_completion` script. The latter tries to add command specific
 completions and in several cases just makes things work worse. I've never
 used the features it adds (e.g. completion of options), so I'm probably
 biased. Given that e.g. OpenSuse doesn't have it enabled by default
 either, I don't seem to be the only one unhappy with it.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5950#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: