-
Notifications
You must be signed in to change notification settings - Fork 0
/
PowershellProfile.ps1
64 lines (43 loc) · 1.13 KB
/
PowershellProfile.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
Import-Module UpdateProgressBar
UpdateProgressBar 10
Import-Module TestVM
Import-Module killport
Import-Module sysupdate
Import-Module goto
Import-Module publishVS
Import-Module -Name Terminal-Icons
Import-Module posh-git
Import-Module PSReadLine
Import-Module PSFzf
Import-Module Get-WelcomeGreeting
Import-Module Get-WelcomeInfo
Import-Module Get-Tips
Import-Module Get-Weather
Import-Module Get-Fortune
Import-Module Get-Neofetch
Import-Module Get-WelcomeInfo
Import-Module Set-PSFzfOptions
Import-Module Set-Aliases
Import-Module Set-ReadLineHandlers
Import-Module "C:\Program Files\PowerToys\WinUI3Apps\..\WinGetCommandNotFound.psd1"
UpdateProgressBar 20
Set-PSFzfOptions
UpdateProgressBar 30
Set-Aliases
UpdateProgressBar 40
Set-ReadLineHandlers
UpdateProgressBar 50
Get-WelcomeGreeting
UpdateProgressBar 60
oh-my-posh init pwsh --config "p:\scripts\joe.omp.json" | Invoke-Expression
UpdateProgressBar 70
TestVMAdapter
UpdateProgressBar 80
Get-Neofetch
Get-WelcomeInfo
UpdateProgressBar 90
Enable-PoshTooltips
Enable-PoshTransientPrompt
#change scoop serach default
Invoke-Expression (&scoop-search --hook)
UpdateProgressBar 0