Skip to content

Instantly share code, notes, and snippets.

@aaronsb
Created June 23, 2021 04:55
Show Gist options
  • Save aaronsb/57d1f368aa7d58a12861f50d3736aaf8 to your computer and use it in GitHub Desktop.
Save aaronsb/57d1f368aa7d58a12861f50d3736aaf8 to your computer and use it in GitHub Desktop.
#import some stuff
@("psreadline","posh-git","oh-my-posh","JiraPS","ConfluencePS","Microsoft.PowerShell.ConsoleGuiTools") | %{Import-Module $_}
# Shows navigable menu of all options when hitting Tab
#Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
# Autocompletion for arrow keys
#Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
#Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineOption -HistorySearchCursorMovesToEnd
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -PredictionSource HistoryAndPlugin
function Add-Path {
Param($NewPath)
$env:PATH = '{0}{1}{2}' -f $env:PATH,[IO.Path]::PathSeparator,$NewPath
}
#import-module REC-BMSManager
New-Alias -Name ls -Value colorls
Set-PoshPrompt cert
neofetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment