Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created July 9, 2022 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/0d746adcf7a13f2f5953ac1099f1f717 to your computer and use it in GitHub Desktop.
Save bielawb/0d746adcf7a13f2f5953ac1099f1f717 to your computer and use it in GitHub Desktop.
Zmiana kolorów dla obu typów widoku.
# InLine:
Set-PSReadLineOption -Colors @{ InlinePrediction = "$([char]0x1b)[36;7;238m"}
# ListView, kolorowanie źródła i "strzałki" na wejściu:
Set-PSReadLineOption -Colors @{ ListPrediction = "$([char]0x1b)[33;7;238m"}
# ListView, kolorowanie wybranej opcji
Set-PSReadLineOption -Colors @{ ListPredictionSelected = "$([char]0x1b)[36;7;238m"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment