liquidpromptrc-dist 6.66 KB
Newer Older
1
2
3
4
5

####################################
# LIQUID PROMPT CONFIGURATION FILE #
####################################

6
7
8
9
# 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

10
11
# If you want to use different themes and features,
# you can load the corresponding files here:
Panayiotis Kkolos's avatar
Panayiotis Kkolos committed
12
#source ~/.config/liquidprompt/nojhan.theme
13
#LP_PS1_FILE=~/.config/liquidprompt/nojhan.ps1
14

15
16
17
18
#############
# BEHAVIOUR #
#############

19
# Display the battery level in more urgent color when the level is below this threshold.
20
21
22
# Recommended value is 75
LP_BATTERY_THRESHOLD=75

23
# Use particular battery ID when multiple batteries are reported by ACPI
24
25
26
27
28
29
# 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

30
# Display the load average over the past minute when above this threshold.
31
32
33
34
# 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
35

36
37
# Display the temperature when the temperate is above this threshold (in
# degrees Celsius).
38
39
40
# Recommended value is 60
LP_TEMP_THRESHOLD=60

41
42
43
44
45
46
47
# 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 '...'.
48
49
50
# Recommended value is 35
LP_PATH_LENGTH=35

51
52
# The number of directories (including '/') to keep at the beginning of a
# shortened path.
53
54
55
# Recommended value is 2
LP_PATH_KEEP=2

56
57
# Determine if the hostname should always be displayed, even if not connecting
# through network.
Olivier Mengué's avatar
Olivier Mengué committed
58
# Defaults to 0 (do not display hostname when locally connected)
59
# set to 1 if you want to always see the hostname
60
# set to -1 if you want to never see the hostname
61
62
LP_HOSTNAME_ALWAYS=0

63
64
# Use the fully qualified domain name (FQDN) instead of the short hostname when
# the hostname is displayed
65
66
LP_ENABLE_FQDN=0

67
68
69
70
71
# 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
72
73
LP_USER_ALWAYS=1

74
# Display the actual values of load/batteries along with their
75
# corresponding marks. Set to 0 to only print the colored marks.
76
77
78
# Defaults to 1 (display percentages)
LP_PERCENTS_ALWAYS=1

79
80
# Use the permissions feature and display a red ':' before the prompt to show
# when you don't have write permission to the current directory.
81
82
83
# Recommended value is 1
LP_ENABLE_PERM=1

84
# Enable the proxy detection feature.
85
86
87
# Recommended value is 1
LP_ENABLE_PROXY=1

88
# Enable the jobs feature.
89
90
91
# Recommended value is 1
LP_ENABLE_JOBS=1

92
93
94
95
# Enable the detached sessions feature.
# Default value is 1
LP_ENABLE_DETACHED_SESSIONS=1

96
# Enable the load feature.
97
98
99
# Recommended value is 1
LP_ENABLE_LOAD=1

100
# Enable the battery feature.
101
102
103
# Recommended value is 1
LP_ENABLE_BATT=1

104
# Enable the 'sudo credentials' feature.
105
# Be warned that this may pollute the syslog if you don't have sudo
106
# credentials, and the sysadmin might hate you.
107
LP_ENABLE_SUDO=0
Olivier Mengué's avatar
Olivier Mengué committed
108

109
110
111
# Enable the directory stack support.
LP_ENABLE_DIRSTACK=0

112
# Enable the VCS features with the root account.
113
114
115
# Recommended value is 0
LP_ENABLE_VCS_ROOT=0

116
# Enable the Git special features.
117
118
119
# Recommended value is 1
LP_ENABLE_GIT=1

120
# Enable the Subversion special features.
121
122
123
# Recommended value is 1
LP_ENABLE_SVN=1

124
# Enable the Mercurial special features.
125
# Recommended value is 1
126
LP_ENABLE_HG=1
127

128
# Enable the Fossil special features.
129
130
131
# Recommended value is 1
LP_ENABLE_FOSSIL=1

132
# Enable the Bazaar special features.
133
# Recommended value is 1
Clément MATHIEU's avatar
Clément MATHIEU committed
134
135
LP_ENABLE_BZR=1

136
# Show time of when the current prompt was displayed.
nojhan's avatar
nojhan committed
137
138
LP_ENABLE_TIME=0

139
# Show runtime of the previous command if over LP_RUNTIME_THRESHOLD
Markus Dreseler's avatar
Markus Dreseler committed
140
141
142
# Recommended value is 0
LP_ENABLE_RUNTIME=0

143
# Minimal runtime (in seconds) before the runtime will be displayed
Markus Dreseler's avatar
Markus Dreseler committed
144
145
146
# Recommended value is 2
LP_RUNTIME_THRESHOLD=2

147
148
149
150
151
152
153
154
155
# 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

156
157
158
159
# Display the virtualenv that is currently activated, if any
# Recommended value is 1
LP_ENABLE_VIRTUALENV=1

160
161
162
163
164
165
166
167
168
# 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)

Ken Crowell's avatar
Ken Crowell committed
169
170
171
172
# Display the terraform workspace that is currently activated, if any
# Recommended value is 0
LP_ENABLE_TERRAFORM=0

173
174
175
176
# Display the enabled software collections, if any
# Recommended value is 1
LP_ENABLE_SCLS=1

177
178
179
# Show current Kubernetes kubectl context
LP_ENABLE_KUBECONTEXT=0

180
# Delimiter to shorten kubectl context by removing a suffix.
181
182
# E.g. when your context names are dev-cluster and test-cluster, set to "-"
# in order to output "dev" and "test" in prompt.
183
184
185
186
187
188
189
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=
190

191
192
193
194
# Display the current active AWS_PROFILE, if any
# Recommended value is 1
LP_ENABLE_AWS_PROFILE=1

195
# Show highest system temperature
196
197
LP_ENABLE_TEMP=1

198
# When showing the time, use an analog clock instead of numeric values.
nojhan's avatar
nojhan committed
199
200
201
# Recommended value is 0
LP_TIME_ANALOG=0

202
# Use the prompt as the title of the terminal window
203
# Recommended value is 0
204
205
LP_ENABLE_TITLE=0

206
# Enable Title for screen, byobu, and tmux
207
208
LP_ENABLE_SCREEN_TITLE=0

209
# Use different colors for the different hosts you SSH to
210
211
LP_ENABLE_SSH_COLORS=0

212
213
214
# Show the error code of the last command if it was not 0
LP_ENABLE_ERROR=1

215
216
217
# 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=()
218

219
220
221
222
223
224
225
# 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"

nojhan's avatar
nojhan committed
226
# vim: set et sts=4 sw=4 tw=120 ft=sh: