support '~' as shortcut for home directory
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 595
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the path-pattern expansion entry point and existing tests for Unix-style patterns, then determine how ~, ~username, and ordinary paths should be distinguished. Done means the requested home-directory shortcuts work without breaking existing glob behavior, with tests covering the supported forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100