Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scp remote_files): do not filter generated paths with "$cur"
This is a regression introduced by commit f2df91d, where `_comp_split` was replaced by `_comp_compgen_split` assuming that the generated words are starting with "$cur". However, we here would like to generate the paths essentially starting with `_path=${cur#*:}` instead of $cur because the caller re-assembles $cur with `-n :`, yet Readline expects the words after `:`. Fixes #1157
- Loading branch information