Created
October 25, 2020 04:32
-
-
Save ninovsnino/e7c6e3c4e816f0e761b58c910e329185 to your computer and use it in GitHub Desktop.
Pretty and minimalist PowerShell $Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ninovsnino's PowerShell's $Profile | |
# http://ninovsnino.io/posts/prettyfy-powershell/ | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Import-Module Get-ChildItemColor | |
Set-Theme Paradox | |
Set-Alias -Name npp -Value 'C:\Program Files\Notepad++\notepad++.exe' -Description "Alias to Notepad++" | |
Set-Alias -Name ll -Value Get-ChildItemColorFormatWide -Description "Alias ll to ColorFormatWide" | |
# https://www.topster.net/text-to-ascii/starwars.html | |
Write-Host " " | |
Write-Host " .__ __. ____ ____ .__ __. " -ForegroundColor DarkYellow | |
Write-Host " | \ | | \ \ / / | \ | | " -ForegroundColor DarkYellow | |
Write-Host " | \| | \ \/ / | \| | " -ForegroundColor DarkYellow | |
Write-Host " | . ' | \ / | . ' | " -ForegroundColor DarkYellow | |
Write-Host " | |\ | \ / | |\ | " -ForegroundColor DarkYellow | |
Write-Host " |__| \__| \__/ |__| \__| " -ForegroundColor DarkYellow | |
Write-Host " " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment