Bug 1221414

Summary: shells/bash-completion: Bug
Product: [openSUSE] openSUSE.org Reporter: Dirk Stoecker <opensuse>
Component: 3rd party softwareAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <screening-team-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Stoecker 2024-03-14 15:00:13 UTC
With 2.12 remote path completion with scp doesn't work anymore. With the last 2.11 RPM it works.

How to reproduce:

Call "scp server:/var/li" and press tab. it should add the "b/" and the end of the prompt. This needs a ssh setup which allows passwordless access like Pubkey pbased login.

I built shell/bash-completion revision 133 (version 2.11) for Tumbleweed again and this solves the issue.
Comment 1 Dr. Werner Fink 2024-03-22 12:36:52 UTC
Here it works for tcsh but with bash both bash-completion 2.11 and 2.12.0 do fail
Comment 2 Dr. Werner Fink 2024-03-22 12:42:11 UTC
OK ... as tcsh user there is no builtin called command

  ssh -o 'Batchmode yes' noether command ls -aF1dL '/var/li*'

tested with `set -x' for bash-completion 2.12.0 ... means it should work bash users
Comment 3 Dr. Werner Fink 2024-03-22 13:29:38 UTC
OK could verify for

 scp root@noether:/var/li<TAB>
Comment 4 Dr. Werner Fink 2024-03-22 13:34:15 UTC
Submit request #1160683 should fix that
Comment 5 OBSbugzilla Bot 2024-03-22 15:35:05 UTC
This is an autogenerated message for OBS integration:
This bug (1221414) was mentioned in
https://build.opensuse.org/request/show/1160694 Factory / bash-completion