Format terminal commands on copy

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
kekumu
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
11
คะแนน
0 0 0
เวอร์ชัน
1.0.1
สร้างเมื่อ
28-04-2020
อัปเดตเมื่อ
28-04-2020
Size
1.84 กิโลไบต์
สัญญาอนุญาต
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