-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMicrosoft.PowerShell_profile.ps1
20 lines (18 loc) · 1.52 KB
/
Microsoft.PowerShell_profile.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Write-Color -Text " "
Write-Color -Text " _---~~(~~-_.", " " -Color Blue
Write-Color -Text " _{ ) )", " /@ " -Color Blue, Cyan
Write-Color -Text " , ) -~~- ( ,-' )_", " @(","@ " -Color Blue, Blue, Cyan
Write-Color -Text " ( `-,_..`., )-- '_,)", " @#/"," @@* " -Color DarkBlue, Blue, Cyan
Write-Color -Text "( ` _) ( -~( -_ `, }", " @@(/"," @@,, " -Color DarkBlue, Blue, Cyan
Write-Color -Text "(_- _ ~_-~~~~`, ,' )", " @%(/ @@","@@@@@@","@@@@ " -Color DarkBlue, Blue, DarkCyan, Cyan
Write-Color -Text " `~ -( __;-,((()))", " @@#","#"," " -Color DarkCyan, Blue, DarkCyan, Cyan
Write-Color -Text " *~~~~{_ -_(())", " @@##","#(((/","///**","****,,,,,@ " -Color DarkCyan, Blue, DarkBlue, DarkCyan, Cyan
Write-Color -Text " ` \ }", " @@%%#","##(((/","///**","****,,,,,,@ " -Color Cyan, Blue, DarkBlue, DarkCyan, Cyan
Write-Color -Text " {`} ", " @@@@@W","@@@@@@","@@@@@@","@@@@@@@@@@@ " -Color Cyan, Blue, DarkBlue, DarkCyan, Cyan
Write-Color -Text " "
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt -Theme spaceship
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward