This repository was archived by the owner on Jun 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212RootModule = ' LovelyPowershell.psm1'
1313
1414# Version number of this module.
15- ModuleVersion = ' 1.5 '
15+ ModuleVersion = ' 1.6 '
1616
1717# Supported PSEditions
1818# CompatiblePSEditions = @()
Original file line number Diff line number Diff line change 11Import-Module PS- Install-If - Missing
22
3- $PrimaryTheme = " hitchens "
4- $SecondaryTheme = " sorin "
3+ $LovelyThemesFolder = Join-Path $PSScriptRoot " PoshThemes "
4+ $HitchensTheme = Join-Path $LovelyThemesFolder " Hitchens.psm1 "
55$DefaultUser = $env: USERNAME
66
7-
87Install-IfMissing posh- git
98Install-IfMissing oh- my- posh
109Install-IfMissing Get-ChildItemColor
@@ -17,16 +16,12 @@ Import-Module -Global Get-ChildItemColor
1716Set-Alias - Scope Global l Get-ChildItemColor - Option AllScope
1817Set-Alias - Scope Global ls Get-ChildItemColorFormatWide - Option AllScope
1918
20- # Setup themes
21- $Global :ThemeSettings.MyThemesLocation = Join-Path $PSScriptRoot " PoshThemes"
22- Set-Theme $PrimaryTheme
23- function themePrimary { Set-Theme $PrimaryTheme }
24- function themeCode { Set-Theme $SecondaryTheme }
19+ Set-Theme $HitchensTheme
2520
2621Export-ModuleMember - Function @ (
27- ' Set-Theme'
2822) - Alias @ (
29- ' ~'
23+ ' l' ,
24+ ' ls'
3025) - Variable @ (
3126 ' DefaultUser'
3227)
You can’t perform that action at this time.
0 commit comments