scop / bash-completion

Programmable completion functions for bash
GNU General Public License v2.0
2.9k stars 380 forks source link

fix(scp remote_files): do not filter generated paths with "$cur" #1158

Closed akinomyoga closed 5 months ago

akinomyoga commented 6 months ago

Fixes #1157

The explanation is in the commit message. I haven't added a test since it is related to the remote configuration. It reminds me of the mechanism LIVE_HOST discussed in #910, which I'm not sure of.

There is an additional fix to localize the change to cur.

scop commented 5 months ago

Thanks!