aboutsummaryrefslogtreecommitdiffstats
path: root/.lp_ps1
diff options
context:
space:
mode:
Diffstat (limited to '.lp_ps1')
-rwxr-xr-x.lp_ps130
1 files changed, 30 insertions, 0 deletions
diff --git a/.lp_ps1 b/.lp_ps1
new file mode 100755
index 0000000..821dcf7
--- /dev/null
+++ b/.lp_ps1
@@ -0,0 +1,30 @@
1
2#######################################
3# LIQUID PROMPT DEFAULT TEMPLATE FILE #
4#######################################
5
6# Available features:
7# LP_BATT battery
8# LP_LOAD load
9# LP_JOBS screen sessions/running jobs/suspended jobs
10# LP_USER user
11# LP_HOST hostname
12# LP_PERM a colon ":"
13# LP_PWD current working directory
14# LP_PROXY HTTP proxy
15# LP_VCS the content of the current repository
16# LP_ERR last error code
17# LP_MARK prompt mark
18# LP_TIME current time
19# LP_RUNTIME runtime of last command
20# LP_PS1_PREFIX user-defined general-purpose prefix (default set a generic prompt as the window title)
21
22# Remember that most features come with their corresponding colors,
23# see the README.
24
25LP_PS1="[\d][\t]\u on \h\n\w${LP_VCS}${LP_MARK}"
26
27LP_TITLE=$(_lp_title $PS1)
28PS1="${LP_TITLE}${PS1}"
29
30# vim: set et sts=4 sw=4 tw=120 ft=sh: