NOTE: this gist can be outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisherman-osx
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
| #PSReadline theme to match VSCode editor colors | |
| if ($env:TERM_PROGRAM -eq 'VSCode' -or $env:WT_SESSION) { | |
| if ($psedition -eq 'core') { | |
| $ansiesc = "`e" | |
| } else { | |
| $ansiesc = [char]0x1b | |
| } | |
| Set-PSReadlineOption -Colors @{ | |
| Command = "$($ansiesc)[93m" |
NOTE: this gist can be outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisherman-osx