Skip to content

Instantly share code, notes, and snippets.

@knbknb
Last active December 10, 2019 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knbknb/5efa1e5ae3f28dcb40abbde5bb77809a to your computer and use it in GitHub Desktop.
Save knbknb/5efa1e5ae3f28dcb40abbde5bb77809a to your computer and use it in GitHub Desktop.
my Powershell Profile file of pwsh v6+ on Linux (work in progress)
# /home/knut/.config/powershell/Microsoft.PowerShell_profile.ps1
# knb 2019
#(Get-Host).UI.RawUI.BackgroundColor = "Darkgreen"
Import-Module posh-git
Import-Module oh-my-posh
# Import-Module Microsoft.PowerShell.GraphicalTools # contains out-gridview commandlet
Set-Theme Honukai
Set-PSReadLineOption -Colors @{"Parameter"=[ConsoleColor]::White}
# This adds to the path.
$env:Path += ":/usr/lib/go/bin:~/.local/bin"
# This aliases mkdir to something shorter.
New-Alias "mk" "mkdir"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment