linutil icon indicating copy to clipboard operation
linutil copied to clipboard

fix: Replace tilde with $HOME

Open shreyas-a-s opened this issue 1 year ago • 1 comments

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.

shreyas-a-s avatar Sep 12 '24 19:09 shreyas-a-s

Looks good.

ghost avatar Sep 13 '24 02:09 ghost

Resolved in another PR

ChrisTitusTech avatar Sep 19 '24 02:09 ChrisTitusTech