-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.ps1
29 lines (26 loc) · 1.3 KB
/
profile.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## Dracula readline configuration. Requires version 2.0, if you have 1.2 convert to `Set-PSReadlineOption -TokenType`
<#
Set-PSReadlineOption -Color @{
"Command" = [ConsoleColor]::Green
"Parameter" = [ConsoleColor]::Gray
"Operator" = [ConsoleColor]::Magenta
"Variable" = [ConsoleColor]::White
"String" = [ConsoleColor]::Yellow
"Number" = [ConsoleColor]::Blue
"Type" = [ConsoleColor]::Cyan
"Comment" = [ConsoleColor]::DarkCyan
}
#>
# Dracula Prompt Configuration
Import-Module posh-git
$GitPromptSettings.DefaultPromptPrefix.Text = "$([char]0x2192) " # arrow unicode symbol
$GitPromptSettings.DefaultPromptPrefix.ForegroundColor = [ConsoleColor]::Green
$GitPromptSettings.DefaultPromptPath.ForegroundColor = [ConsoleColor]::Cyan
#$GitPromptSettings.DefaultPromptSuffix.Text = '> ' # chevron unicode symbol
$GitPromptSettings.DefaultPromptSuffix.ForegroundColor = [ConsoleColor]::Magenta
# Dracula Git Status Configuration
$GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $false
#$GitPromptSettings.BeforeStatus.ForegroundColor = [ConsoleColor]::DarkCyan
#$GitPromptSettings.BranchColor.ForegroundColor = [ConsoleColor]::DarkCyan
#$GitPromptSettings.AfterStatus.ForegroundColor = [ConsoleColor]::DarkCyan
$GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n'