Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save varunswarup0/d8d69d299169813432c3ef0271633787 to your computer and use it in GitHub Desktop.
Save varunswarup0/d8d69d299169813432c3ef0271633787 to your computer and use it in GitHub Desktop.
# 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