[Bug 1989330] Re: ~/.ssh/folder broke bash completion
Brian Murray
1989330 at bugs.launchpad.net
Tue Sep 13 18:07:04 UTC 2022
Could you please provide some more information about the release of
Ubuntu you are using and the version of bash-completion you have
installed? You can find out the release via cat /etc/lsb-release. You
can find out the package version via 'apt-cache policy bash-completion'.
Alternatively you could just run 'apport-collect 1989330' and all that
information will be gathered automatically.
Additionally, a test case which demonstrates how to reproduce the issue
would be quite useful. I tried using scp and tab completion worked fine
for me and I do have a folder in my ~/.ssh/ directory.
** Changed in: bash-completion (Ubuntu)
Importance: Undecided => Low
** Changed in: bash-completion (Ubuntu)
Status: New => Incomplete
--
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/1989330
Title:
~/.ssh/folder broke bash completion
Status in bash-completion package in Ubuntu:
Incomplete
Bug description:
When trying to complete scp have this error :
```
+ tmpkh=($(awk 'sub("^[ \t]*([Gg][Ll][Oo][Bb][Aa][Ll]|[Uu][Ss][Ee][Rr])[Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee][ \t]+", "") { print $0 }' "${config[@]}" | sort -u))
++ sort -u
++ awk 'sub("^[ \t]*([Gg][Ll][Oo][Bb][Aa][Ll]|[Uu][Ss][Ee][Rr])[Kk][Nn][Oo][Ww][Nn][Hh][Oo][Ss][Tt][Ss][Ff][Ii][Ll][Ee][ \t]+", "") { print $0 }' /etc/ssh/ssh_config /home/xxxx/.ssh/config /home/xxxx/.ssh/xxxx.ssh-config/ghost/config /home/xxxx/.ssh/xxxx.ssh-config/xxxx/config /home/xxxx/.ssh/xxxx.ssh-config/xxxx/config /home/xxxx/.ssh/xxxx.ssh-config/team-xxxx/config /home/xxxx/.ssh/xxxx.ssh-config/team-xxxx/config /home/xxxx/.ssh/xxxx.ssh-config/team-xxxx/config /home/xxxx/.ssh/local/config /home/xxxx/.ssh/local
awk: ligne de commande:1: avertissement : L'argument « /home/xxxx/.ssh/local » de la ligne de commande est un répertoire : ignoré
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1989330/+subscriptions
More information about the foundations-bugs
mailing list