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 '~' as shortcut for home directory #149

Open
pchampin opened this issue Dec 9, 2024 · 0 comments
Open

support '~' as shortcut for home directory #149

pchampin opened this issue Dec 9, 2024 · 0 comments

Comments

@pchampin
Copy link

pchampin commented Dec 9, 2024

In UNIX systems, ~ at the beginning of a pattern matches the home directory of the current user.
It would be nice if glob supported this as well.

NB: as a matter of fact, ~ alone matches the current user's home, and ~username matches the home directory of username. Ideally, glob would support both.

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

No branches or pull requests

1 participant