-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshellscript.json
78 lines (78 loc) · 2.01 KB
/
shellscript.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"shebang-sh-r": {
"prefix": "shebang-sh",
"body": [
"#!/usr/bin/env sh"
],
"description": "Adds a shebang for 'sh' shell scripts"
},
"shebang-sh-encoding-r": {
"prefix": "shebang-sh+encoding",
"body": [
"#!/usr/bin/env sh",
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for 'sh' shell scripts and a magic comment for file encoding"
},
"shebang-sh": {
"prefix": "#!sh",
"body": [
"#!/usr/bin/env sh"
],
"description": "Adds a shebang for 'sh' shell scripts"
},
"shebang-sh-encoding": {
"prefix": "#!sh+encoding",
"body": [
"#!/usr/bin/env sh",
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for 'sh' shell scripts and a magic comment for file encoding"
},
"shebang-bash-encoding-r": {
"prefix": "shebang-bash+encoding",
"body": [
"#!/usr/bin/env bash",
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for 'bash' shell scripts and a magic comment for file encoding"
},
"shebang-bash": {
"prefix": "#!bash",
"body": [
"#!/usr/bin/env bash"
],
"description": "Adds a shebang for 'bash' shell scripts"
},
"shebang": {
"prefix": "#!",
"body": [
"#!/usr/bin/bash"
],
"description": "Adds a shebang for 'bash' shell scripts"
},
"shebang-bash-encoding": {
"prefix": "#!bash+encoding",
"body": [
"#!/usr/bin/env bash",
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for 'bash' shell scripts and a magic comment for file encoding"
},
"shebang-encoding": {
"prefix": "#encoding",
"body": [
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a magic comment for file encoding"
},
"Bash Multiline Comment": {
"prefix": "multiline",
"body": [
": '",
"",
"'"
],
"description": "Generate a multiline comment for Bash"
}
}