Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Added vscode support
Browse files Browse the repository at this point in the history
VSCode renders themes pretty nicely with the following setting to change terminal fonts to use a Powerline font:

```
"terminal.integrated.fontFamily": "'DejaVu Sans Mono for Powerline'"
```
  • Loading branch information
Tiberriver256 authored and JanJoris committed Oct 26, 2017
1 parent c0e8862 commit f607ed1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Helpers/Prompt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ function Test-IsVanillaWindow {
# Hyper.is
return $false
}
elseif ($env:TERM_PROGRAM -eq "vscode") {
# Visual Studio Code
return $false
}
else {
# Powershell
return $true
Expand Down Expand Up @@ -171,4 +175,4 @@ function Set-CursorUp {
}

$escapeChar = [char]27
$sl = $global:ThemeSettings #local settings
$sl = $global:ThemeSettings #local settings

0 comments on commit f607ed1

Please sign in to comment.