diff options
| author | 2015-02-22 17:15:39 +0100 | |
|---|---|---|
| committer | 2015-02-22 17:15:39 +0100 | |
| commit | d0ecb2a9d770b1987e3be7cdc549d46880b89c5e (patch) | |
| tree | d493b4afd8268adb3e1f374cd73e5db662f260d6 /lp_ps1 | |
| parent | b86e22c339276441f344d61ad104a7cebd3b5858 (diff) | |
| download | dotfiles-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-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: | ||
