Hide Forgot
Description of problem: when completing path to the devices, the completion will return absolute nonsense. # mount /de[tab] # mount /dev/mapper/VolGroup-lv_ Version-Release number of selected component (if applicable): Epoch : 1 Version : 1.3 Release : 6.fc16 How reproducible: Every time using completion with mount on my Fedora system Actual results: # mount /de[tab] # mount /dev/mapper/VolGroup-lv_ Expected results: # mount /de[tab] # mount /dev/ Additional info: This type of completion just does not make sense at all. There is plenty of other devices in /dev/ I want to use and I want my completion to work as expected. This is highly annoying!
Forwarded upstream: https://alioth.debian.org/tracker/index.php?func=detail&aid=313437&group_id=100114&atid=413095 In the meantime, whenever you disagree with bash-completion's completions and wish to fall back to what plain bash does, hit Alt+/ instead of Tab to complete. Or if you want to get rid of bash-completion, just remove the package, or disable it on per user basis according to the instructions in /usr/share/doc/bash-completion*/README