Initial commit
This commit is contained in:
18
Microsoft.PowerShell_profile.ps1
Normal file
18
Microsoft.PowerShell_profile.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
# Setup starship prompt
|
||||
Invoke-Expression (&starship init powershell)
|
||||
|
||||
# Setup mise
|
||||
mise activate pwsh | Out-String | Invoke-Expression
|
||||
|
||||
# Setup Autosuggestion
|
||||
Import-Module PSReadLine
|
||||
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete
|
||||
Set-PSReadLineOption -PredictionSource History
|
||||
|
||||
# Setup Autocompletion for commands
|
||||
# unsure if I like it
|
||||
#Import-Module PSCompletions
|
||||
|
||||
|
||||
# Aliases
|
||||
Set-Alias -Name v -Value nvim
|
||||
Reference in New Issue
Block a user