Bug 750795

Summary: completion results in unwanted path to be completed
Product: [Fedora] Fedora Reporter: Lukáš Czerner <lczerner>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: sheltren, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 18:40:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukáš Czerner 2011-11-02 11:59:30 UTC
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!

Comment 1 Ville Skyttä 2011-11-04 18:40:27 UTC
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