dollar-sign icon indicating copy to clipboard operation
dollar-sign copied to clipboard

$: command not found

Dollar Sign

For when you accidentally copy the dollar sign and your shell returns "$: command not found".

Installation

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

Usage

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

Support

Please open an issue for questions and concerns.

Contributing

Fork the project, commit your changes, and open a pull request.