-
Notifications
You must be signed in to change notification settings - Fork 1
/
omega.psd1
258 lines (226 loc) · 7.49 KB
/
omega.psd1
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# Module manifest for MaxPowerShell
# Eric D Hiller
# January 2018
<#
# For formatting and properties, see:
# https://msdn.microsoft.com/en-us/library/dd878337(v=vs.85).aspx
#>
@{
Author = "Eric D Hiller"
Description = "Max Power Shell - Get more out of your command environment."
ModuleVersion = "0.0.0.4"
GUID = "ad3159e1-ef91-4c84-9b48-62f746dc4a25"
RootModule = "core\omega.psm1"
PowerShellVersion = "7.0"
# RequiredModules are modules which are required to be loaded into the GLOBAL environment before this module loads (else it fails to load)
# Nothing is processed within the module before this, so it is impossible to 'install' dependencies first
#IDEA i updated these, make sure it is proper.
# may not want these here because they'd prevent the install script from running
# i could have the install script update an ./local/module.state.psd1 that is included here
# so that required assemblies and some other values only exist post-install
# this would be great for installing modules!
RequiredModules = @(
# "posh-git"
)
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's (GLOBAL) environment prior to importing this module
# Having _anything_ present in this field causes it to be present as a *seperate* module in the user's environment
ScriptsToProcess = @()
TypesToProcess = @()
FormatsToProcess = @()
AliasesToExport = @(
"7z"
"curl"
"f"
"gh"
"hexdump"
"kb"
"less"
"om"
"powershell"
"Print-Path"
"psr"
"sed"
"ssh"
"tail"
"vim"
"wget"
"whereis"
"which"
)
CmdletsToExport = @()
VariablesToExport = @(
"GitPromptScriptBlock"
"GIT_EDITOR"
) # all
FunctionsToExport = @(
"Add-DirToPath"
"Show-Env"
"Show-Path"
"Get-DirectoryDiff"
"Get-ArgumentCompleter"
"Open-OmegaBaseDirectory"
"Open-GitHubDevDirectory"
"Get-FileContentTail"
"Send-LinuxConfig"
"Get-DirectorySize"
"Search-Executable"
"Write-Prompt"
"Get-PrettyPath"
"New-OmegaShortcut"
"mv"
"grep"
"ff"
"ls"
"Install-OmegaPackage"
"Get-History"
"back"
"killall"
"Register-OmegaApp"
"Set-Env"
# "Prompt"
## non-omega
# "Get-ComputerName"
# "Get-Drive"
# "Get-FullPath"
# "Get-ShortPath"
# "Get-Theme"
# "Get-VcsInfo"
# "Get-VCSStatus"
# "Get-VirtualEnvName"
# "ThemeCompletion"
# "NewCompletionResult"
# "Test-NotDefaultUser"
# "Set-CursorForRightBlockWrite"
# "Reset-CursorPosition"
# "Set-CursorUp"
# "Set-Newline"
# "Start-Up"
# "Set-Prompt"
# "Set-CursorUp"
# "Set-Newline"
# "Set-CursorForRightBlockWrite"
# "Set-Theme"
# "Show-Colors"
# "Show-ThemeColors"
# "Show-ThemeSymbols"
"Test-Administrator"
# "Test-NotDefaultUser"
# "Test-VirtualEnv"
# "Update-AllBranches"
# "Write-GitBranchName"
# "Write-GitBranchStatus"
# "Write-GitIndexStatus"
# "Write-GitStashCount"
# "Write-GitStatus"
# "Write-GitWorkingDirStatus"
# "Write-GitWorkingDirStatusSummary"
# "Add-PoshGitToProfile"
# "Format-GitBranchName"
# "Get-GitBranchStatusColor"
# "Get-GitDirectory"
# "Get-GitStatus"
# "Get-PromptPath"
# "Get-SshAgent"
# "Get-SshPath"
# Required to be exported for git tab completion
"TabExpansion"
# ## omega
"Get-OmegaHelp"
"Remove-DirFromPath"
# "SafeObjectArray"
# "Save-UserConfig"
"Search-FrequentDirectory"
"Search-KnowledgeBase"
"Set-RegisterCommandAvailable"
# "Set-UserRepo"
"Test-Admin"
# "ArrayAddUnique"
# "checkGit"
"Convert-DirectoryStringToUnix"
# "Debug-Title"
# "Debug-Variable"
# "Enter-UserConfirm"
"Get-OmegaCommands"
# "Get-DirectoryDiff"
# "Get-DirectorySize"
"Get-FileContentTail"
# "Get-md5sum"
# "Get-sha256sum"
# "Join-Paths"
# "New-UserConfigRepo"
# "tgit"
# "Start-SshAgent"
# "Stop-SshAgent"
# "Add-SshKey"
)
# ModuleList can be either array of strings or of
# objects with ModuleName , ModuleVersion , and optional GUID keys
ModuleList = @()
FileList = @()
<# NestedModules
Type: [Object[]]
Default: @()
Modules to import as nested modules of the module specified in RootModule/ModuleToProcess.
Adding a module name to this element is similar to calling Import-Module from within your script or assembly code. The main difference is that it’s easier to see what you are loading here in the manifest file. Also, if a module fails to load here, you will not yet have loaded your actual module.
In addition to other modules, you may also load script (.ps1) files here. These files will execute in the context of the root module. (This is equivalent to dot sourcing the script in your root module.)
#>
# Nested modules can be listed as an object (same as ModuleList) or as a path relative to the ModuleBase
# Script files , modules , etc that are run in the module's environment prior to importing this module
NestedModules = @(
# "core/prep.ps1"
# "core/install.ps1"
"core\core.ps1"
"core\core.chk.ps1"
"core\core.ui.ps1"
# "core/system.install.ps1"
"core\user.omega.ps1"
"core\user.utilities.ps1"
"core\resources.create.ps1"
"core\package.install.ps1"
# "core\themeOmega.psm1"
)
# HelpInfoURI = ""
# DefaultCommandPrefix = ""
# PackageManagementProviders = @()
# BE SURE TO UPDATE THESE URIs !
PrivateData = @{
PSData = @{
Category = "Console Suite"
Tags = @("powershell", "console", "cli", "conemu", "git", "vim")
IconUri = ""
ProjectUri = "https://MaxPower.sh"
LicenseUri = "https://MaxPower.sh/"
ReleaseNotes = "https://MaxPower.sh/release/Changelog"
RequireLicenseAcceptance = 'False'
IsPrerelease = 'True'
}
RegisteredCommands = @(
"Get-OmegaCommands"
"Get-OmegaHelp"
"Add-DirToPath"
"Remove-DirFromPath"
"Show-Env"
"Show-Path"
"Convert-DirectoryStringToUnix"
"Send-LinuxConfig"
"Get-DirectorySize"
"Get-DirectoryDiff"
"whereis"
"md5sum"
"sha256sum"
"hexdump"
"psr"
"f"
"ff"
"tail"
"gh"
"om"
"kb"
"Install-OmegaPackage"
"Get-History"
)
}
}
# see: https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Core/New-ModuleManifest?view=powershell-5.1
# https://msdn.microsoft.com/en-us/library/dd878337(v=vs.85).aspx