[Bug 139674] Re: bash completion doesn't perform filename processing for ssh -i
Daniel Black
139674 at bugs.launchpad.net
Mon Jan 9 00:54:04 UTC 2012
updated patches that have been submitted upstream:
https://github.com/grooverdan/bash-completion/tree/ssh-identityfile
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/139674
Title:
bash completion doesn't perform filename processing for ssh -i
Status in “bash-completion” package in Ubuntu:
Triaged
Status in “bash-completion” package in Debian:
Fix Released
Bug description:
Binary package hint: bash
In /etc/bash_completion, the completion for the "ssh" command doesn't use the
"-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_completion (or perhaps just in the _ssh() function).
Either way, this is a very low priority bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/139674/+subscriptions
More information about the foundations-bugs
mailing list