config/Default.ps1

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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Default configuration

$Global:ColorSettings = @{
    General = @{
        Path = @{
            ShortenUserFolder = $true;
        }
    }
    File = @{
        Default = @{
            Color = "Gray";
        }
        Header = @{
            Hidden = $false;
            Text = @{
                Color = "DarkGray";
            }
            Separators = @{
                Color = "DarkGray";
            }
        }
        Path = @{
            Hidden = $true;
            Title = @{
                Color = "DarkGray";
            }
            Text = @{
                Color = "Gray";
            }
        }
        Type = @{
            Directory = @{
                Color = "Yellow";
            }
            SymbolicLink = @{
                Color = "Blue";
                ShowTarget = $true;
            }
            Hidden = @{
                Color = "DarkGray";
                RegEx = "^\.";
            }
            Binary = @{
                Color = "DarkCyan";
                RegEx = "\.(exe|jar|msi|pdf|war)$";
            }
            Code = @{
                Color = "Magenta";
                RegEx = "\.(bat|c|cmd|cpp|cs|css|dfm|dpr|h|html|java|js|json|pas|php|pl|ps1|psm1|py|rb|reg|sh|sql|swift|toml|ts|vb|vbs|yaml|yml)$";
            }
            Compressed = @{
                Color = "Cyan";
                RegEx = "\.(7z|gz|rar|tar|zip)$";
            }
            Text = @{
                Color = "Red";
                RegEx = "\.(cfg|conf|config|csv|ini|log|markdown|md|txt|xml)$";
            }
        }
    }
    Service = @{
        Default = @{
            Color = "Gray";
        }
        Header = @{
            Hidden = $false;
            Text = @{
                Color = "Gray";
            }
            Separators = @{
                Color = "Gray";
            }
        }
        Status = @{
            Running = @{
                Color = "DarkGreen";
            }
            Stopped = @{
                Color = "DarkRed";
            }
        }
    }
    MatchInfo = @{
        Match = @{
            Default = @{
                Color = "Gray";
            }
            Path = @{
                Color = "Cyan";
            }
            LineNumber = @{
                Color = "Yellow";
            }
            Line = @{
                Color = "Gray";
            }
        }
        NoMatch = @{
            Default = @{
                Color = "Gray";
            }
            Path = @{
                Color = "Cyan";
            }
            LineNumber = @{
                Color = "Yellow";
            }
            Line = @{
                Color = "Gray";
            }
        }
    }
};