aboutsummaryrefslogtreecommitdiffstats
path: root/lp_ps1
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-02-22 17:15:39 +0100
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-02-22 17:15:39 +0100
commitd0ecb2a9d770b1987e3be7cdc549d46880b89c5e (patch)
treed493b4afd8268adb3e1f374cd73e5db662f260d6 /lp_ps1
parentb86e22c339276441f344d61ad104a7cebd3b5858 (diff)
downloaddotfiles-d0ecb2a9d770b1987e3be7cdc549d46880b89c5e.tar.gz
dotfiles-d0ecb2a9d770b1987e3be7cdc549d46880b89c5e.tar.bz2
dotfiles-d0ecb2a9d770b1987e3be7cdc549d46880b89c5e.zip
Moved from stow to dotfiles for dotfile management
Diffstat (limited to 'lp_ps1')
-rwxr-xr-xlp_ps130
1 files changed, 30 insertions, 0 deletions
diff --git a/lp_ps1 b/lp_ps1
new file mode 100755
index 0000000..93987bb
--- /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: