Format terminal commands on copy

Automatically remove bash comments `#` and prompts `$` on copy by reading the modifying the selected content.

लेखक
kekumu
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
11
रेटिंग
0 0 0
आवृत्ती
1.0.1
बनवली
2020-04-28
अपडेट केली
2020-04-28
आकार
1.84 KB
License
GPL-3.0-or-later
यांवर लागू होते:
सर्व संकेतस्थळे

Format terminal commands on copy

Automatically remove bash comments # and prompts $ on copy by reading the modifying the selected content.

Usage

Just copy some text containing with lines that start with either # or $.

# Sometimes you just want to copy and paste a set of commands
$ echo hello

# But you get a bunch of comments and shell prompts that you need to avoid
# pasting in the terminal
$ echo world