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

Commit f607ed1

Browse files
Tiberriver256JanJoris
authored andcommittedOct 26, 2017
Added vscode support
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'" ```
1 parent c0e8862 commit f607ed1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎Helpers/Prompt.ps1

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ function Test-IsVanillaWindow {
77
# Hyper.is
88
return $false
99
}
10+
elseif ($env:TERM_PROGRAM -eq "vscode") {
11+
# Visual Studio Code
12+
return $false
13+
}
1014
else {
1115
# Powershell
1216
return $true
@@ -171,4 +175,4 @@ function Set-CursorUp {
171175
}
172176

173177
$escapeChar = [char]27
174-
$sl = $global:ThemeSettings #local settings
178+
$sl = $global:ThemeSettings #local settings

0 commit comments

Comments
 (0)
This repository has been archived.