Bug 750795 - completion results in unwanted path to be completed
Summary: completion results in unwanted path to be completed
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-02 11:59 UTC by Lukáš Czerner
Modified: 2011-11-04 18:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-04 18:40:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.