Skip to content

Instantly share code, notes, and snippets.

@abhirup-dev
Created April 7, 2020 07:18
Show Gist options
  • Save abhirup-dev/fa39bda383c5c6a32c30051338d1592f to your computer and use it in GitHub Desktop.
Save abhirup-dev/fa39bda383c5c6a32c30051338d1592f to your computer and use it in GitHub Desktop.
# Theming: https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx
# https://github.com/dahlbyk/posh-git
# Import-Module posh-git
# Import-Module oh-my-posh
Set-Theme Agnoster
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
# https://www.powershellgallery.com/packages/PSFzf/1.1.0
# https://github.com/kelleyma49/PSFzf#psreadline-integration
# replace 'Ctrl+t' and 'Ctrl+r' with your preferred bindings:
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
@abhirup-dev
Copy link
Author

Added fuzzy reverse search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment