Created
September 2, 2020 12:17
-
-
Save calexandre/223aa174bbdebb39a7398cff4e57c304 to your computer and use it in GitHub Desktop.
My powershell profile
This file contains hidden or 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
Invoke-Expression (&starship init powershell) | |
# Chocolatey profile | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} | |
# enable completion in current shell, use absolute path because PowerShell Core not respect $env:PSModulePath | |
Import-Module "$($(Get-Item $(Get-Command scoop).Path).Directory.Parent.FullName)\modules\scoop-completion" | |
function pshistory { | |
Get-Content (Get-PSReadlineOption).HistorySavePath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment