-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.purelinerc
105 lines (85 loc) · 2.98 KB
/
.purelinerc
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
# Full Pureline configuration (Default symbols + custom 256 colors)
# Colors must be defined in pairs of FG & BG
PL_COLORS[MyOrange]='\[\e[38;5;208m\]'
PL_COLORS[On_MyOrange]='\[\e[48;5;208m\]'
PL_COLORS[MyLime]='\[\e[38;5;119m\]'
PL_COLORS[On_MyLime]='\[\e[48;5;119m\]'
PL_COLORS[MyYellow]='\[\e[38;5;227m\]'
PL_COLORS[On_MyYellow]='\[\e[48;5;227m\]'
PL_COLORS[MyLightGrey]='\[\e[38;5;250m\]'
PL_COLORS[On_MyLightGrey]='\[\e[48;5;250m\]'
PL_COLORS[MyBlue]='\[\e[38;5;69m\]'
PL_COLORS[On_MyBlue]='\[\e[48;5;69m\]'
PL_COLORS[MyCyan]='\[\e[38;5;75m\]'
PL_COLORS[On_MyCyan]='\[\e[48;5;75m\]'
PL_COLORS[MyRed]='\[\e[38;5;196m\]'
PL_COLORS[On_MyRed]='\[\e[48;5;196m\]'
PL_COLORS[MyDarkGrey]='\[\e[38;5;240m\]'
PL_COLORS[On_MyDarkGrey]='\[\e[48;5;240m\]'
PL_COLORS[MyPurple]='\[\e[38;5;89m\]'
PL_COLORS[On_MyPurple]='\[\e[48;5;89m\]'
PL_COLORS[MyGreen]='\[\e[38;5;83m\]'
PL_COLORS[On_MyGreen]='\[\e[48;5;83m\]'
# All segments are enabled. Uncomment/comment to enable/disable a segment
PL_SEGMENTS=(
# segment Background Foreground
# 'time_segment MyLightGrey Black'
# 'battery_segment MyBlue Black'
'user_segment MyLime Black'
#'ssh_segment MyYellow Black'
'screen_session_segment MyLightGrey Black'
'virtual_env_segment MyOrange Black'
'conda_env_segment MyBlue Black'
'aws_profile_segment MyLime Black'
'kubernetes_segment MyLime Black'
'read_only_segment MyRed White'
'background_jobs_segment MyPurple White'
'path_segment MyBlue Black'
#'git_segment MyGreen Black'
#'newline_segment'
'duration_segment MyCyan Black'
'return_code_segment MyOrange Black'
'prompt_segment MyDarkGrey White'
)
if [[ $(id -u) = 0 ]]; then
PL_SEGMENTS[0]='user_segment MyYellow Black'
fi
# segment Options
PL_PATH_TRIM=0 # 0 Full path, 1, Current, 2+ trim level
PL_TIME_SHOW_SECONDS=true
PL_USER_SHOW_HOST=true
PL_USER_USE_IP=false
PL_SSH_SHOW_HOST=true
PL_SSH_USE_IP=true
PL_GIT_DIRTY_FG=Black
PL_GIT_DIRTY_BG=MyOrange
PL_GIT_AHEAD=true
PL_GIT_MODIFIED=true
PL_GIT_STAGED=true
PL_GIT_CONFLICTS=true
PL_GIT_UNTRACKED=true
PL_GIT_STASH=true
PL_PROMPT_ROOT_BG=Red
PL_PROMPT_ROOT_FG=White
# redefine symbols using powerline glyphs
PL_SYMBOLS[hard_separator]=""
PL_SYMBOLS[soft_separator]=""
PL_SYMBOLS[git_branch]=""
PL_SYMBOLS[git_untracked]="↔"
PL_SYMBOLS[git_stash]="§"
PL_SYMBOLS[git_ahead]="↑"
PL_SYMBOLS[git_behind]="↓"
PL_SYMBOLS[git_modified]="✚ "
PL_SYMBOLS[git_staged]="✔ "
PL_SYMBOLS[git_conflicts]="✘ "
PL_SYMBOLS[python]="🐍"
PL_SYMBOLS[read_only]="🔒"
PL_SYMBOLS[return_code]="🏴"
PL_SYMBOLS[background_jobs]="💬"
PL_SYMBOLS[battery_charging]="⚡"
PL_SYMBOLS[battery_discharging]="▮"
PL_SYMBOLS[aws_profile]='☁'
PL_SYMBOLS[screen]='💻'
PL_SYMBOLS[duration]='⏳'
PL_SYMBOLS[pwd_separator]=''
PL_SYMBOLS[pwd_trimmed]=''