Skip to content

Instantly share code, notes, and snippets.

@mister-coded
Last active October 11, 2021 16:17
Show Gist options
  • Save mister-coded/9a1f024d0a9bb01f38d2e0e6f16a1fcf to your computer and use it in GitHub Desktop.
Save mister-coded/9a1f024d0a9bb01f38d2e0e6f16a1fcf to your computer and use it in GitHub Desktop.
Get auto suggestions in powershell (just like in fish shell)

Auto suggestions in powershell

  • Open powershell
  • Run Install-Module PSReadLine -RequiredVersion 2.1.0
  • Open your $profile document - type $profile to get its location. If you don't have a $profile document, run New-Item -Type File -Force $PROFILE first to create one
  • In a new line type set-psreadlineoption -predictionsource history

Save the file, close powershell and reopen it. You should be all set!

  • Create an issue if you are experiencing any problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment