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
შექმნილია
28.04.2020
განახლებულია
28.04.2020
Size
1,84 KB
ლიცენზია
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