Skip to content

Instantly share code, notes, and snippets.

@mister-coded
mister-coded / auto-suggestions-in-powershell.md
Last active October 11, 2021 16:17
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!

@mister-coded
mister-coded / regex.md
Created August 24, 2021 10:16 — forked from vitorbritto/regex.md
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping