bash-complete-partial-path icon indicating copy to clipboard operation
bash-complete-partial-path copied to clipboard

Ignore dot/hidden files

Open geekscrapy opened this issue 1 year ago • 1 comments

The macos OS creates .DS_Store files in every directory. bash_completions sees these as regular files and suggests them. Is is possible to have an ignore list, or just ignore hidden files by default? Or anther way?

Thanks!!!

geekscrapy avatar Aug 15 '23 12:08 geekscrapy

Ignoring dotfiles by default (unless completion input already contains /.) seems like a good idea, thank you. We could also add a configuration flag to _bcpp for users who prefer current behavior.

Between life and other projects I don't think that I'll work on this in near future. If you (or anyone else) want to tackle this, I'm avaliable for review and general discussion.

sio avatar Aug 15 '23 15:08 sio