Last active
May 13, 2021 15:19
-
-
Save danieldaeschle/3b62acbe9e2a86baea580940c99244d0 to your computer and use it in GitHub Desktop.
Powershell profile configuration
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 posh-git | |
Import-Module oh-my-posh | |
Set-PoshPrompt -Theme robbyrussel | |
# Helper function to change directory to development workspace | |
function cws { Set-Location $env:USERPROFILE\Projects } | |
Import-Module PSReadLine | |
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete | |
# Autocompletion for Arrow keys | |
Set-PSReadLineOption -HistorySearchCursorMovesToEnd | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Set-PSReadLineOption -ShowToolTips | |
Set-PSReadLineOption -PredictionSource History |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment