Closed AlexeyPechnikov closed 9 months ago
created pull request upon the issue
Sorry I had done conflicting edits, but I took both of your advices and eliminated the your-user-name
simply using ~
instead of /Users/<your-user-name
.
Thank you!
haha, that's even better :)
Please pay attention that “~” does not work always because it depends on shell substitution. It would be valuable to note that user might replace it to the hard-coded path in case of issues in Apple shortcuts, etc.
You are right in general, that was one of the reasons why I was lazy with your-user-name
in the first place ;-)
I've tested the ~
in shortcuts and it seems to work fine!
Replace it using $(whoami) to automatically detect username in terminal.