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

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to