bash-complete-partial-path
bash-complete-partial-path copied to clipboard
Ignore dot/hidden files
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!!!
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.