linutil
linutil copied to clipboard
fix: Replace tilde with $HOME
Pull Request
Title
Replace tilde with $HOME since ~ does not expand inside quotes
Type of Change
- [ ] New feature
- [x] Bug fix
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Hotfix
- [ ] Security patch
- [ ] UI/UX improvement
Description
Tilde (~) doesn't expand inside quotes hence it will affect the test statement. This is only a minor issue and most probably will not affect most people since ~/Pictures will be present unless deleted by user. But I thought about fixing it since it kinda bothered me while watching your streams to see the warning in Cursor.
Checklist
- [x] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [x] My changes generate no errors/warnings/merge conflicts.
Looks good.
Resolved in another PR