sindresorhus / trash

Move files and directories to the trash
MIT License
2.58k stars 79 forks source link

docs: remove `$` from `trash-cli` install command #127

Closed BolajiAyodeji closed 1 year ago

BolajiAyodeji commented 1 year ago

GitHub code snippets have a copy feature, as seen in the screenshot below, which I use often and believe others do.

Screenshot 2023-10-21 at 10 52 21

If the copied shell command includes the $ prefix, it will lead to an error when copied and pasted directly in the terminal like so:

Screenshot 2023-10-21 at 10 53 37

Users will now have to edit the copied text again or type manually, which is a bad experience and a waste of the copy-snippet feature, which is great for installing packages and so. Hence, this PR removes the $ prefix from the install trash-cli command. I believe this will remove the repetitive behaviour.

Thanks for creating this, Sindre!