Last active
April 13, 2021 16:35
-
-
Save feliperugai/1f06fdba678367a26b1fd62109567a56 to your computer and use it in GitHub Desktop.
Powershell development productivity 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
Import-Module oh-my-posh | |
Import-Module posh-git | |
Import-Module -Name Terminal-Icons | |
Import-Module PowerColorLS | |
Set-Alias -Name open -Value ii | |
Set-Alias -Name code -Value code-insiders | |
Set-Alias -Name ls -Value PowerColorLS -Option AllScope | |
Set-PSReadlineKeyHandler -Key Tab -Function Complete | |
Set-PoshPrompt -Theme Pararussel | |
Invoke-Expression (& { | |
$hook = if ($PSVersionTable.PSVersion.Major -lt 6) { 'prompt' } else { 'pwd' } | |
(zoxide init --hook $hook powershell) -join "`n" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment