\o/ Thank you
> On 26. Oct 2022, at 21:12, Chet Ramey <[email protected]> wrote: > > On 10/25/22 3:51 AM, Stefan H. Holek wrote: >> Hi All, >> There is an issue that has been bothering me for quite some time now, and >> that >> I finally got to the bottom of. It concerns the dirname passed to opendir in >> rl_filename_completion_function (complete.c). >> If the dirname requires tilde expansion it is expanded, and if it requires >> dequoting it is dequoted. However, if a dirname requires BOTH tilde expansion >> AND dequoting (e.g.: ~stefan/funny\ dir/) only the former is performed and >> filename completion fails as a result. > > This can be handled by rl_directory_rewrite_hook or > rl_directory_completion_hook -- that's why it works in bash -- but I agree > with your change if the calling application doesn't supply either. > -- Stefan H. Holek [email protected]
