forked from liquidprompt/liquidprompt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliquidpromptrc-dist
226 lines (174 loc) · 6.66 KB
/
liquidpromptrc-dist
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
####################################
# LIQUID PROMPT CONFIGURATION FILE #
####################################
# This example config file does not contain all possible config options, nor
# does it have detailed option descriptions. See the documentation for that:
# https://liquidprompt.readthedocs.io/en/stable/config.html
# If you want to use different themes and features,
# you can load the corresponding files here:
#source ~/.config/liquidprompt/nojhan.theme
#LP_PS1_FILE=~/.config/liquidprompt/nojhan.ps1
#############
# BEHAVIOUR #
#############
# Display the battery level in more urgent color when the level is below this threshold.
# Recommended value is 75
LP_BATTERY_THRESHOLD=75
# Use particular battery ID when multiple batteries are reported by ACPI
# and the default one is wrong.
# Example of such behaviour is when using Logitech Unified Receiver
# and ACPI reports keyboard and mouse batteries first, and laptop battery last
# Run acpi --battery and use Battery # for this value.
LP_BATTERY_ID=0
# Display the load average over the past minute when above this threshold.
# This value is scaled per CPU, so on a quad-core machine, the load average
# would need to be 2.40 or greater to be displayed.
# Recommended value is 0.60
LP_LOAD_THRESHOLD=0.60
# Display the temperature when the temperate is above this threshold (in
# degrees Celsius).
# Recommended value is 60
LP_TEMP_THRESHOLD=60
# Use the shorten path feature if the path is too long to fit in the prompt
# line.
# Recommended value is 1
LP_ENABLE_SHORTEN_PATH=1
# The maximum percentage of the screen width used to display the path before
# removing the center portion of the path and replacing with '...'.
# Recommended value is 35
LP_PATH_LENGTH=35
# The number of directories (including '/') to keep at the beginning of a
# shortened path.
# Recommended value is 2
LP_PATH_KEEP=2
# Determine if the hostname should always be displayed, even if not connecting
# through network.
# Defaults to 0 (do not display hostname when locally connected)
# set to 1 if you want to always see the hostname
# set to -1 if you want to never see the hostname
LP_HOSTNAME_ALWAYS=0
# Use the fully qualified domain name (FQDN) instead of the short hostname when
# the hostname is displayed
LP_ENABLE_FQDN=0
# When to display the user name:
# 1: always display the user name
# 0: hide the logged user (always display different users)
# -1: never display the user name
# Default value is 1
LP_USER_ALWAYS=1
# Display the actual values of load/batteries along with their
# corresponding marks. Set to 0 to only print the colored marks.
# Defaults to 1 (display percentages)
LP_PERCENTS_ALWAYS=1
# Use the permissions feature and display a red ':' before the prompt to show
# when you don't have write permission to the current directory.
# Recommended value is 1
LP_ENABLE_PERM=1
# Enable the proxy detection feature.
# Recommended value is 1
LP_ENABLE_PROXY=1
# Enable the jobs feature.
# Recommended value is 1
LP_ENABLE_JOBS=1
# Enable the detached sessions feature.
# Default value is 1
LP_ENABLE_DETACHED_SESSIONS=1
# Enable the load feature.
# Recommended value is 1
LP_ENABLE_LOAD=1
# Enable the battery feature.
# Recommended value is 1
LP_ENABLE_BATT=1
# Enable the 'sudo credentials' feature.
# Be warned that this may pollute the syslog if you don't have sudo
# credentials, and the sysadmin might hate you.
LP_ENABLE_SUDO=0
# Enable the directory stack support.
LP_ENABLE_DIRSTACK=0
# Enable the VCS features with the root account.
# Recommended value is 0
LP_ENABLE_VCS_ROOT=0
# Enable the Git special features.
# Recommended value is 1
LP_ENABLE_GIT=1
# Enable the Subversion special features.
# Recommended value is 1
LP_ENABLE_SVN=1
# Enable the Mercurial special features.
# Recommended value is 1
LP_ENABLE_HG=1
# Enable the Fossil special features.
# Recommended value is 1
LP_ENABLE_FOSSIL=1
# Enable the Bazaar special features.
# Recommended value is 1
LP_ENABLE_BZR=1
# Show time of when the current prompt was displayed.
LP_ENABLE_TIME=0
# Show runtime of the previous command if over LP_RUNTIME_THRESHOLD
# Recommended value is 0
LP_ENABLE_RUNTIME=0
# Minimal runtime (in seconds) before the runtime will be displayed
# Recommended value is 2
LP_RUNTIME_THRESHOLD=2
# Ring the terminal bell if the runtime of the previous command exceeded
# LP_RUNTIME_BELL_THRESHOLD
# Recommended value is 0
LP_ENABLE_RUNTIME_BELL=0
# Minimal runtime (in seconds) before the terminal bell will be rung.
# Recommended value is 10
LP_RUNTIME_BELL_THRESHOLD=10
# Display the virtualenv that is currently activated, if any
# Recommended value is 1
LP_ENABLE_VIRTUALENV=1
# Display the ruby virtual env that is currently activated, if any
# Recommended value is 1
LP_ENABLE_RUBY_VENV=1
# If using RVM, personalize the rvm-prompt.
# see http://rvm.io/workflow/prompt for details.
# Warning, this variable must be a shell array.
LP_RUBY_RVM_PROMPT_OPTIONS=(i v g s)
# Display the terraform workspace that is currently activated, if any
# Recommended value is 0
LP_ENABLE_TERRAFORM=0
# Display the enabled software collections, if any
# Recommended value is 1
LP_ENABLE_SCLS=1
# Show current Kubernetes kubectl context
LP_ENABLE_KUBECONTEXT=0
# Delimiter to shorten kubectl context by removing a suffix.
# E.g. when your context names are dev-cluster and test-cluster, set to "-"
# in order to output "dev" and "test" in prompt.
LP_DELIMITER_KUBECONTEXT_SUFFIX=
# Delimiter to shorten kubectl context by removing a prefix.
# E.g. when your context names are like
# arn:aws:eks:$REGION:$ACCOUNT_ID:cluster/$CLUSTER_NAME, set to "/"
# in order to output "$CLUSTER_NAME" in prompt.
LP_DELIMITER_KUBECONTEXT_PREFIX=
# Display the current active AWS_PROFILE, if any
# Recommended value is 1
LP_ENABLE_AWS_PROFILE=1
# Show highest system temperature
LP_ENABLE_TEMP=1
# When showing the time, use an analog clock instead of numeric values.
# Recommended value is 0
LP_TIME_ANALOG=0
# Use the prompt as the title of the terminal window
# Recommended value is 0
LP_ENABLE_TITLE=0
# Enable Title for screen, byobu, and tmux
LP_ENABLE_SCREEN_TITLE=0
# Use different colors for the different hosts you SSH to
LP_ENABLE_SSH_COLORS=0
# Show the error code of the last command if it was not 0
LP_ENABLE_ERROR=1
# Specify an array of absolute paths in which all vcs will be disabled.
# Ex: ("/root" "/home/me/large-remove-svn-repo")
LP_DISABLED_VCS_PATHS=()
# Use a local liquidpromptrc if it exists.
# Can be helpful if you sync your primary config across machines, or if
# there's a system-wide config at /etc/liquidpromptrc from which you'd
# like to make only minor deviations.
#LOCAL_RCFILE=$HOME/.liquidpromptrc.local
#[ -f "$LOCAL_RCFILE" ] && source "$LOCAL_RCFILE"
# vim: set et sts=4 sw=4 tw=120 ft=sh: