aboutsummaryrefslogtreecommitdiffstats
path: root/liquidprompt/.lp_ps1
blob: 93987bb5173f168121d4adb6d23fb311afbb25ba (plain)
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
#######################################
# LIQUID PROMPT DEFAULT TEMPLATE FILE #
#######################################

# Available features:
# LP_BATT battery
# LP_LOAD load
# LP_JOBS screen sessions/running jobs/suspended jobs
# LP_USER user
# LP_HOST hostname
# LP_PERM a colon ":"
# LP_PWD current working directory
# LP_PROXY HTTP proxy
# LP_VCS the content of the current repository
# LP_ERR last error code
# LP_MARK prompt mark
# LP_TIME current time
# LP_RUNTIME runtime of last command
# LP_PS1_PREFIX user-defined general-purpose prefix (default set a generic prompt as the window title)

# Remember that most features come with their corresponding colors,
# see the README.

LP_PS1="[\d][\t]\u on \h\n\w${LP_VCS} ${LP_MARK}"

LP_TITLE=$(_lp_title $PS1)
PS1="${LP_TITLE}${PS1}"

# vim: set et sts=4 sw=4 tw=120 ft=sh: