-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.example
62 lines (62 loc) · 1.62 KB
/
config.example
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
{
config : {
autoProfile: {
prompts: [{
// 'MyHost:Documents me$ ' default MacOS bash prompt
pattern: '^(\\S+):(.*) ([a-z_][a-z0-9_\\-\\.]*[\\$]?)[\\$#]\\s*$',
hostname: 1,
path: 2,
username: 3
},{
// 'me@MyHost:~$ ' default Linux bash prompt
pattern: '^([a-z_][a-z0-9_\\-\\.]*[\\$]?)@(\\S+):([\\/~].*)[\\$#]\\s*$',
username: 1,
hostname: 2,
path: 3
},{
// 'me@MyHost ~> ' default fish prompt
pattern: '^([a-z_][a-z0-9_\\-\\.]*[\\$]?)@(\\S+) ([\\/~].*)[>#]\\s*',
username: 1,
hostname: 2,
path: 3
},{
// 'MyHost% ' default zsh prompt
pattern: '^(\\S+)% ',
hostname: 1
},{
// '➜ ~' default oh-my-zsh prompt (robbyrussell theme)
pattern: '^➜ ([\\/~].*) ',
path: 1
},
{
// 'me@MyHost MINGW64 ~ (master) ' default git-bash prompt on Windows
pattern: "^([a-z_][a-z0-9_\\-\\.]*[\\$]?)@(\\S+) MINGW64 ([\\/~].*)(\s|$)",
username: 1,
hostname: 2,
path: 3
}
],
profiles: [{
triggers: [
'root@',
],
backgroundColor: '#400'
},
{
triggers: [
'@scotchbox'
],
backgroundColor: '#040'
},
{
triggers: [
'/project'
],
backgroundColor: '#004'
}
],
stripAnsiSequences: true, //default
debug: false, //default
}
}
}