-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsynth-shell-prompt.config
More file actions
136 lines (102 loc) · 4.48 KB
/
Copy pathsynth-shell-prompt.config
File metadata and controls
136 lines (102 loc) · 4.48 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
##==============================================================================
## COLORS
##
## Control the color and format scheme of the bash prompt.
## The prompt is divided into segments, listed below starting from the left:
## - USER: shows the user's name.
## - HOST: shows the host's name.
## - PWD: shows the current directory.
## - GIT: if inside a git repository, shows the name of current branch.
## - PYENV: if inside a Python Virtual environment.
## - TF: if inside a Terraform Workspace.
## - CLOCK: shows current time in H:M format.
## - INPUT: actual bash input.
##
## Valid color options:
## - white black light-gray dark-gray
## red green yellow blue cyan purple
## light-red light-green light-yellow light-blue light-cyan light-purple
## - Values in the range [0-255] for 256 bit colors. To check all number-color
## pairs for your terminal, you may run the following snippet by HaleTom:
## curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash
## or search something like "bash 256 color codes" on the internet.
##
##==============================================================================
##==============================================================================
## MAIN FORMAT
##==============================================================================
format="USER PWD GIT PYENV"
#separator_char='\uE0B0' # Separation character, '\uE0B0'=triangle
separator_char='\ue0b4' # Separation character, half circle
separator_padding_left='' # Add char or string to the left of the separator
separator_padding_right='' # Add char or string to the right of the separator
segment_padding=' ' # Add char or string around segment text
enable_vertical_padding=true # Add extra new line over prompt
enable_command_on_new_line=false # Add new line between prompt and command
##==============================================================================
## USER
##==============================================================================
font_color_user="grey"
background_user="17"
texteffect_user="bold"
##==============================================================================
## HOST
##==============================================================================
font_color_host="grey"
background_host="18"
#texteffect_host="bold"
##==============================================================================
## PWD (working dir)
##==============================================================================
font_color_pwd="248"
background_pwd="19"
#texteffect_pwd="bold"
max_pwd_char="25"
pwd_trunc_symbol="…"
##==============================================================================
## GIT
##==============================================================================
font_color_git="236"
background_git="40"
#texteffect_git="bold"
git_symbol_synced=' \ue725'
git_symbol_unpushed=' ▲'
git_symbol_unpulled=' ▼'
git_symbol_unpushedunpulled=' ◆'
git_symbol_dirty=' ◔'
git_symbol_dirty_unpushed=' ◔ △'
git_symbol_dirty_unpulled=' ◔ ▽'
git_symbol_dirty_unpushedunpulled=' ◔ ◇'
git_symbol_stash='🗎'
git_update_period_minutes=-1 # Use -1 to disable automatic updates
##==============================================================================
## PYENV
##==============================================================================
font_color_pyenv="white"
background_pyenv="blue"
texteffect_pyenv="bold"
##==============================================================================
## KUBERNETES
##==============================================================================
font_color_kube="white"
background_kube="purple"
texteffect_kube="bold"
##==============================================================================
## TERRAFORM WORKSPACE
##==============================================================================
font_color_tf="purple"
background_tf="light-purple"
texteffect_tf="bold"
##==============================================================================
## CLOCK
##==============================================================================
font_color_clock="white"
background_clock="light-blue"
texteffect_clock="bold"
clock_format="%H:%M"
##==============================================================================
## INPUT (user typed command)
##==============================================================================
font_color_input="45"
background_input="none"
texteffect_input="none"