npm.io
1.0.0 • Published 7 years agoCLI

@fraction/dollar-sign

Licence
0BSD
Version
1.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
42

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.

Keywords