https://github.com/fraction/dollar-sign
$: command not found
https://github.com/fraction/dollar-sign
Last synced: 9 months ago
JSON representation
$: command not found
- Host: GitHub
- URL: https://github.com/fraction/dollar-sign
- Owner: fraction
- License: other
- Created: 2014-10-29T07:19:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-10-21T23:58:40.000Z (over 4 years ago)
- Last Synced: 2024-12-14T05:29:57.575Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 42
- Watchers: 7
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`](https://www.npmjs.com/):
```
npm -g install @fraction/dollar-sign
```
## Usage
Use the dollar sign or don't use the dollar sign – it doesn't matter at all.
```sh
$ echo "Hello world"
# Hello world
$ $ $ $ $ $ $ echo "Hello world"
# Hello world
```
## Support
Please [open an issue](https://github.com/fraction/dollar-sign/new) for questions and concerns.
## Contributing
Fork the project, commit your changes, and [open a pull request](https://github.com/fraction/dollar-sign/compare/).