Commit 58ed923
committed
scp: avoid double expansion of file
- Use `_comp_xfunc_ssh_scp_local_files` only for `-F` option.
- Otherwise use `_filedir` and add heuristics based on number of
completion variants whether the argument is hostname or it is a local
file, so a space should be appended.1 parent b85b88e commit 58ed923
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
569 | | - | |
570 | 568 | | |
571 | 569 | | |
572 | | - | |
| 570 | + | |
| 571 | + | |
573 | 572 | | |
574 | 573 | | |
575 | 574 | | |
| |||
579 | 578 | | |
580 | 579 | | |
581 | 580 | | |
582 | | - | |
583 | | - | |
| 581 | + | |
584 | 582 | | |
585 | 583 | | |
586 | 584 | | |
587 | 585 | | |
588 | 586 | | |
589 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
590 | 595 | | |
591 | 596 | | |
592 | | - | |
593 | 597 | | |
594 | 598 | | |
595 | 599 | | |
| |||
0 commit comments