From d27d1370846fad27cbc45f4907ed96bda5326fa7 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 7 Oct 2014 20:19:15 +0200 Subject: Added liquidprompt --- .lp_ps1 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 .lp_ps1 (limited to '.lp_ps1') diff --git a/.lp_ps1 b/.lp_ps1 new file mode 100755 index 0000000..821dcf7 --- /dev/null +++ b/.lp_ps1 @@ -0,0 +1,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: -- cgit v1.2.3