For when you accidentally copy the dollar sign and your shell returns "$: command not found".
Add the executable to your path and give it permissions.
sudo printf '#!/bin/sh\nexec "$@"\n' > /usr/local/bin
sudo chmod +x /usr/local/bin/$
Or to install using npm
:
npm -g install @fraction/dollar-sign
Use the dollar sign or don't use the dollar sign – it doesn't matter at all.
$ echo "Hello world"
# Hello world
$ $ $ $ $ $ $ echo "Hello world"
# Hello world
Please open an issue for questions and concerns.
Fork the project, commit your changes, and open a pull request.