https://github.com/nudin/copy-paste-and-the-terminal
Copy & Paste vs the Terminal
https://github.com/nudin/copy-paste-and-the-terminal
Last synced: 2 months ago
JSON representation
Copy & Paste vs the Terminal
- Host: GitHub
- URL: https://github.com/nudin/copy-paste-and-the-terminal
- Owner: Nudin
- License: mit
- Created: 2017-09-23T14:46:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-23T22:30:02.000Z (over 7 years ago)
- Last Synced: 2025-01-05T15:43:40.600Z (4 months ago)
- Language: HTML
- Homepage: https://nudin.github.io/copy-paste-and-the-terminal/copypaste.html
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Copy, Past & the Terminal
=========================Please try [the demo site](https://nudin.github.io/copy-paste-and-the-terminal/copypaste.html)!
When coping something from a Webbrowser (or any other untrusted source) to your terminal you might end up executing code without your knowledge.
To prevent this:
* update to readline 7.0+
* add the following line to you `~/.inputrc`
```
set enable-bracketed-paste On
```
Dokumentation of [enable-bracketed-paste](https://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#SEC10).