bash completion doesn't perform filename processing for ssh -i
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Debian) |
Fix Released
|
Unknown
|
|||
bash-completion (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: bash
In /etc/bash_
"-o filenames" option. As a result, filename processing isn't performed on the
completed results. (In particular, this includes adding a trailing slash to
directory names.)
This is nice for most cases, but ssh's "-i" option does take a filename
argument. The lack of filename processing can be rather annoying when trying
to specify a key in a deep path.
Unfortunately, I'm not sure if bash provides an easy way to enable the
"-o filenames" behavior only for certain arguments. I think it may only be
possible to set it on a per-command basis. Therefore the only way to fix this
may be to manually perform this processing in the _filedir() function in
/etc/bash_
Either way, this is a very low priority bug.
Changed in bash-completion: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in bash-completion: | |
status: | Unknown → Confirmed |
Changed in bash-completion (Debian): | |
status: | Confirmed → Fix Released |
tags: |
added: trusty removed: bash bashcompletion completion jankunder scp ssh |
I'm not sure this is even fixable without changes to bash itself...