2012-07-31 16:15:07 -04:00
|
|
|
|
|
|
|
####################################
|
|
|
|
# LIQUID PROMPT CONFIGURATION FILE #
|
|
|
|
####################################
|
|
|
|
|
|
|
|
# Maximal value under which the battery level is displayed
|
|
|
|
# Recommended value is 75
|
|
|
|
LP_BATTERY_THRESHOLD=75
|
|
|
|
|
|
|
|
# Minimal value after which the load average is displayed
|
|
|
|
# Recommended value is 60
|
|
|
|
LP_LOAD_THRESHOLD=60
|
|
|
|
|
|
|
|
# The maximum percentage of the screen width used to display the path
|
|
|
|
# Recommended value is 35
|
|
|
|
LP_PATH_LENGTH=35
|
|
|
|
|
|
|
|
# How many directories to keep at the beginning of a shortened path
|
|
|
|
# Recommended value is 2
|
|
|
|
LP_PATH_KEEP=2
|
|
|
|
|
2012-08-07 14:52:32 -04:00
|
|
|
# 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
|
|
|
|
LP_HOSTNAME_ALWAYS=0
|
|
|
|
|
2012-08-13 16:23:43 -04:00
|
|
|
# If charset is UTF-8
|
2012-08-13 17:15:24 -04:00
|
|
|
if [[ "$(locale -k LC_CTYPE | sed -n 's/^charmap="\(.*\)"/\1/p')" == *"UTF-8"* ]] ; then
|
2012-08-13 16:23:43 -04:00
|
|
|
LP_BATTERY_MARK="⌁"
|
2012-08-13 16:28:50 -04:00
|
|
|
LP_ADAPTER_MARK="⏚"
|
2012-08-13 16:23:43 -04:00
|
|
|
LP_LOAD_MARK="⌂"
|
|
|
|
LP_PROXY_MARK="↥"
|
|
|
|
LP_GIT_MARK="±"
|
|
|
|
LP_MERCURIAL_MARK="☿"
|
|
|
|
LP_SUBVERSION_MARK="‡"
|
|
|
|
else
|
|
|
|
LP_BATTERY_MARK="b"
|
|
|
|
LP_ADAPTER_MARK="p"
|
|
|
|
LP_LOAD_MARK="c"
|
|
|
|
LP_PROXY_MARK="^"
|
|
|
|
LP_GIT_MARK="+"
|
|
|
|
LP_MERCURIAL_MARK="m"
|
|
|
|
LP_SUBVERSION_MARK="="
|
|
|
|
fi
|
2012-08-13 17:15:24 -04:00
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 tw=120 ft=sh:
|