Created
June 26, 2022 18:35
-
-
Save varunswarup0/d8d69d299169813432c3ef0271633787 to your computer and use it in GitHub Desktop.
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
# Shows navigable menu of all options when hitting Tab | |
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete | |
Import-Module PSReadLine | |
Set-PSReadLineOption -PredictionSource History | |
# Autocompletion for arrow keys | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Import-Module posh-git | |
Import-Module oh-my-posh | |
Set-PoshPrompt -Theme iterm3 | |
# New-Alias <alias> <aliased-command> | |
New-Alias cl clear | |
function show { | |
Get-ChildItem -Name | |
} | |
function open { | |
ii . | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment