hyperterm-paste

1.1.2 • Public • Published

hyperterm-paste

Makes pasting into hyperterm safe and easy

npm js-standard-style

Pasting into hyperterm

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    27
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    27
  • 1.1.1
    1
  • 1.1.0
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i hyperterm-paste

Weekly Downloads

30

Version

1.1.2

License

MIT

Last publish

Collaborators

  • krzkaczor