Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more masks with multiple extensionss in ShellComp::File #375

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

pacak
Copy link
Owner

@pacak pacak commented Jul 21, 2024

Support masks with multiple extensions via "*.(md|toml)"

zsh accepts "*.(md|toml)", but bash wants to see "@(md|toml)". To support both we pick saner mask variant (from zsh) and in case of bash - correct it.

Fixes #371

@pacak
Copy link
Owner Author

pacak commented Jul 21, 2024

cc @ozwaldorf, is this working for you?

@ozwaldorf
Copy link
Contributor

This works perfectly 👍

@pacak pacak merged commit 7a3d13a into master Jul 21, 2024
3 checks passed
@pacak pacak deleted the shell_comp_mask branch July 21, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ShellComp::File not working as expected on bash
2 participants