Format terminal commands on copy

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

Autore
kekumu
Installazioni giornaliere
0
Installazioni totali
11
Valutazione
0 0 0
Versione
1.0.1
Creato il
28/04/2020
Aggiornato il
28/04/2020
Dimensione
1,84 KB
Licenza
GPL-3.0-or-later
Applica a
Tutti i siti

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