forked from waltermeyer/fish-lp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.liquidpromptrc.fish
executable file
·129 lines (96 loc) · 3.94 KB
/
.liquidpromptrc.fish
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
#!/bin/fish
# fish-lp
# Copyright (C) 2017 James W. Barnett
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
####################################
# LIQUID PROMPT CONFIGURATION FILE #
####################################
# If you want to use different themes and features,
# you can load the corresponding files here:
source ~/.liquid.theme
#############
# BEHAVIOUR #
#############
# Maximal value under which the battery level is displayed
# Recommended value is 75
set -g LP_BATTERY_THRESHOLD 75
# Minimal value after which the load average is displayed
# Recommended value is 60
set -g LP_LOAD_THRESHOLD 60
# The maximum percentage of the screen width used to display the path
# Recommended value is 35
set -g LP_PATH_LENGTH 35
# How many directories to keep at the beginning of a shortened path
# Recommended value is 2
set -g LP_PATH_KEEP 2
# Do you want to display the hostname, even if not connected through network?
# Defaults to 0 (do not display hostname when localy connected)
# set to 1 if you want to always see the hostname
set -g LP_HOSTNAME_ALWAYS
# Do you want to display the user, even if he is the same than the logged one?
# set to 0 if you want to hide the logged user (it will always display different users)
set -g LP_USER_ALWAYS
# Do you want to display the percentages of load/batteries along with their
# corresponding marks? Set to 0 to only print the colored marks.
# Defaults to 1 (display percentages)
set -g LP_PERCENTS_ALWAYS
# Do you want to use the permissions feature ?
set -g LP_ENABLE_PERM
# Do you want to use the shorten path feature ?
set -g LP_ENABLE_SHORTEN_PATH
# Do you want to use the proxy detection feature ?
set -g LP_ENABLE_PROXY
# Do you want to use the jobs feature ?
set -g LP_ENABLE_JOBS
# Do you want to use the load feature ?
set -g LP_ENABLE_LOAD
# Do you want to use the batt feature ?
set -g LP_ENABLE_BATT
# Do you want to use vcs features with root account
# Recommended value is 0
#set -g LP_ENABLE_VCS_ROOT
# Do you want to use the git special features ?
set -g LP_ENABLE_GIT
# Do you want to use the svn special features ?
# Recommended value is 1
#set -g LP_ENABLE_SVN
# Do you want to use the mercurial special features ?
#set -g LP_ENABLE_HG
# Do you want to use the fossil special features ?
#set -g LP_ENABLE_FOSSIL
# Do you want to use the bzr special features ?
#set -g LP_ENABLE_BZR
# Show time of the last prompt display
#set -g LP_ENABLE_TIME
# When showing time, use an analog clock instead of numeric values.
# The analog clock is "accurate" to the nearest half hour.
# You must have a unicode-capable terminal and a font with the "CLOCK"
# characters.
#set -g LP_TIME_ANALOG
# Use the liquid prompt as the title of the terminal window
# This may not work properly on exotic terminals, thus the
# recommended value is 0
# See LP_TITLE_OPEN and LP_TITLE_CLOSE to change escape characters to adapt this
# feature to your specific terminal.
#set -g LP_ENABLE_TITLE
# Enable Title for screen and byobu
#set -g LP_ENABLE_SCREEN_TITLE
# Use differents colors for differents hosts you SSH in
set -g LP_ENABLE_SSH_COLORS
# Specify a list of complete and colon (":") separated paths in which, all vcs
# will be disabled
set -g LP_DISABLED_VCS_PATH ""
# Show dettached sessions of multiplexers
#set -g LP_ENABLE_TMUX
#set -g LP_ENABLE_SCREEN
# vim: set et sts=4 sw=4 tw=120 ft=sh: