[Bash-completion-devel] [bash-completion-Bugs][314826] Scp completion not failglob compliant

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Thu Sep 25 11:32:55 UTC 2014


bash-completion-Bugs item #314826, was opened at 25/09/2014 13:32 by Dams Nadé
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314826&group_id=100114

Status: Open
Priority: 3
Submitted By: Dams Nadé (anvil-guest)
Assigned to: Nobody (None)
Summary: Scp completion not failglob compliant 
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: 2.0
Status: None
Original bug number: 


Initial Comment:
When failglob is enabled, scp fails in multiple occasions :
* scp word<tab>
  => prints an error message if no local file name starts with "word"
  => For instance:
  $ scp m<tab>
  gives:
  $ scp m-bash: no match: m*

* scp host:<tab>
  => prints an error message no matter what.
  => For instance:
  scp localhost:<tab>
  gives
  scp localhost:-bash: no match: s/\\\\\\\([][(){}<>",:;^&!$=?`|\\'[:space:]]\)/\\\1/g

Please find attached some patches to fixes those issues. The new _scp_local_files should work the same as before.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314826&group_id=100114



More information about the Bash-completion-devel mailing list