Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#18696 - [bash-completion] difference in result list depending on command

Attached to Project: Arch Linux
Opened by M. P. (mpausch) - Monday, 15 March 2010, 18:54 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 16 October 2010, 21:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
when I want to get the list of possible filenames with [tabulator][tabulator] the result list differs between
different commands, especially "ls" and "vi"


Additional info:
* package version(s): bash-completion 1.1-3
* config and/or log files etc.: default config that comes with


Steps to reproduce:

result list with "ls":
[m@bart ~]$ ls /etc/ld.so.conf
ld.so.conf ld.so.conf.d/ ld.so.conf.pacnew


result list with "vi":
[m@bart ~]$ vi /etc/ld.so.conf
ld.so.conf ld.so.conf.d/


result list with "vi" (after disabling completion):
[m@bart ~]$ complete -r
[m@bart ~]$ vi /etc/ld.so.conf
ld.so.conf ld.so.conf.d/ ld.so.conf.pacnew
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 16 October 2010, 21:44 GMT
Reason for closing:  Upstream
Additional comments about closing:  Please submit the path upstream.
Comment by Julien Ugon (bzklrm) - Saturday, 03 April 2010, 11:37 GMT
The reason is that .conf.pacnew is excluded as a file editable by vi/vim/emacs in the file /etc/bash_completion. The attached patch should solve that problem.
Comment by M. P. (mpausch) - Saturday, 03 April 2010, 13:02 GMT
thanks a lot. works.

Loading...