diff options
| author | 2014-10-07 20:19:15 +0200 | |
|---|---|---|
| committer | 2014-10-07 20:19:15 +0200 | |
| commit | d27d1370846fad27cbc45f4907ed96bda5326fa7 (patch) | |
| tree | 1a76a1204fcaad33e433354fb5459b6d00e9569d /.lp_ps1 | |
| parent | 3bf374f4b530dccf491f2cb39e05179ea2baa8ab (diff) | |
| download | dotfiles-d27d1370846fad27cbc45f4907ed96bda5326fa7.tar.gz dotfiles-d27d1370846fad27cbc45f4907ed96bda5326fa7.tar.bz2 dotfiles-d27d1370846fad27cbc45f4907ed96bda5326fa7.zip | |
Added liquidprompt
Diffstat (limited to '.lp_ps1')
| -rwxr-xr-x | .lp_ps1 | 30 |
1 files changed, 30 insertions, 0 deletions
| @@ -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 | |||
| 25 | LP_PS1="[\d][\t]\u on \h\n\w${LP_VCS}${LP_MARK}" | ||
| 26 | |||
| 27 | LP_TITLE=$(_lp_title $PS1) | ||
| 28 | PS1="${LP_TITLE}${PS1}" | ||
| 29 | |||
| 30 | # vim: set et sts=4 sw=4 tw=120 ft=sh: | ||
