https://github.com/krzkaczor/hyperterm-paste
Makes pasting into hyperterm safe and easy
https://github.com/krzkaczor/hyperterm-paste
hyperterm javascript
Last synced: 10 months ago
JSON representation
Makes pasting into hyperterm safe and easy
- Host: GitHub
- URL: https://github.com/krzkaczor/hyperterm-paste
- Owner: krzkaczor
- License: mit
- Created: 2016-08-01T18:09:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-24T14:23:38.000Z (almost 5 years ago)
- Last Synced: 2025-04-08T10:50:12.571Z (10 months ago)
- Topics: hyperterm, javascript
- Language: JavaScript
- Homepage:
- Size: 109 KB
- Stars: 45
- Watchers: 2
- Forks: 8
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hyperterm-paste
Makes pasting into hyperterm safe and easy
# Not maintained anymore, might not work correctly
[](https://www.npmjs.com/package/hyperterm-paste)
[](http://standardjs.com)

```
hpm install hyperterm-paste
```
### Description
Now pasting from browser into terminal will never run shell command by itself!
Transformations applied to input:
- remove leading `$`
- remove leading whitespaces
- multiline input will be concatenated to one line by adding `&&`
- trailing newline will be removed which prevents from execution
#### Custom separators
By default plugin will use `&&` for new lines which is fine for `bash` and `zsh` shells. If you use something more exotic you can specify custom separator as env in your config `.hyper.js` file:
```
env: {
"HYPER_PASTE_SEPARATOR": " & "
},
```
### Escape hatch
You can still make "raw" paste by using `ctrl` + `shift` + `v`