Skip to content

Instantly share code, notes, and snippets.

@ninovsnino
Created October 25, 2020 04:32
Show Gist options
  • Save ninovsnino/e7c6e3c4e816f0e761b58c910e329185 to your computer and use it in GitHub Desktop.
Save ninovsnino/e7c6e3c4e816f0e761b58c910e329185 to your computer and use it in GitHub Desktop.
Pretty and minimalist PowerShell $Profile
# 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