Module loading upgrade
This all started because I wanted the UnixCompleters module and initialization to move to the base.linux package. * MyConfig.class modified to load from all modules * Test-MyModules suppress empty entries * removed unix entries from base/src/modules.json + created base.linux/src/modules.json
This commit is contained in:
parent
6c19a53518
commit
0e986cfaa7
5 changed files with 32 additions and 21 deletions
4
base.linux/profile.d/UnixCompleters.ps1
Normal file
4
base.linux/profile.d/UnixCompleters.ps1
Normal file
|
@ -0,0 +1,4 @@
|
|||
Get-Command Import-UnixCompleters -ErrorAction SilentlyContinue | ForEach-Object {
|
||||
Import-UnixCompleters
|
||||
Set-UnixCompleter -ShellType Bash
|
||||
}
|
5
base.linux/src/modules.json
Normal file
5
base.linux/src/modules.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Unix": [
|
||||
"Microsoft.PowerShell.UnixCompleters"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue