Commit Graph

85 Commits

Author SHA1 Message Date
Luc Didry
05fcbe909a Allow to disable load, battery, etc. in the rc file
Yes, much more config options, but it allows to lighten the prompt and
so improve its speed. I wanted to detect the useful parts by parsing the
theme but it seems impossible (I didn't find how).
2012-08-16 15:16:48 +02:00
nojhan
991b2b38be add configurable untracked changes mark, at a better position 2012-08-16 14:28:55 +02:00
nojhan
170628b676 Separate templates from themes
This add colors to features in the main code, so as to avoid having to specify
them in the template part. LP_PS1 is thus easier to set, with just a list of
features to activate along with basic characters.
2012-08-16 12:13:40 +02:00
Luc Didry
71c9b6ddb8 Update README : the theme must be sourced *before* LP 2012-08-16 11:21:14 +02:00
nojhan
c90f31351c add examples an explanations on how to make themes 2012-08-14 15:38:33 +02:00
nojhan
660bc29d8c add configurable colormaps 2012-08-14 15:06:58 +02:00
nojhan
36fd1c8f52 color themes for VCS and battery marks 2012-08-14 14:35:20 +02:00
nojhan
8e3d2fe0c8 remove tabs and change readme title 2012-08-14 14:12:33 +02:00
nojhan
7b4c68f919 Colors themes for most of the propmt parts
Set of parameters to change the colors, VCS still not themable.
2012-08-14 12:01:14 +02:00
nojhan
7b8ba5e7f9 fix #26 : prefix with _lp_ or LP_ and local variables 2012-08-13 23:15:24 +02:00
nojhan
f1fd9af32a update the readme 2012-08-13 09:35:50 +02:00
nojhan
508b218004 Indicate if the battery is (dis)charging
Displays:
* a green ⌁ if the battery is charging and above a given threshold,
* a yellow ⌁ if the battery is charging and under threshold,
* a red ⌁ if the battery is discharging but above threshold;
2012-08-12 12:13:47 +02:00
Luc Didry
c3ba849ced Update README.md for zsh merge 2012-08-12 10:10:50 +02:00
nojhan
74109a5c83 prompt_OFF command to deactivate any prompt 2012-08-11 10:20:37 +02:00
nojhan
bfd9e5c708 + license in the readme 2012-08-10 16:52:23 +02:00
nojhan
45bfd4d866 add PS1 forging with liquidprompt function
This adds the possibility to forge a different prompt than the default one, by
laying out liquidprompt features in a different order.
Just build a properly escaped LP_PS1 variable.
2012-08-10 15:46:44 +02:00
nojhan
0943eb67a9 Different prompt mark for different VCS (±, ☿, ‡)
± for git directories, ☿ for mercurial, ‡ for svn.
Thus, do not display the now useless letter prefix before the branch name.
Refactor the smart mark function.
2012-08-10 14:40:50 +02:00
nojhan
8fd5c95409 add dependencies list in the readme 2012-08-10 14:30:13 +02:00
nojhan
40e2db6e71 use d/&/z instead of s/r/t for jobs markers
Those are marks closer to the commands
2012-08-10 14:28:18 +02:00
nojhan
3ba404d106 display an arrow if http_proxy is in use 2012-08-09 12:11:51 +02:00
nojhan
f851d6cf4f update the readme about unicode chars 2012-08-09 12:11:16 +02:00
nojhan
2c73402a31 config option to always display the hostname
Do you want to display the hostname, even if not connected through network?
Use LP_HOSTNAME_ALWAYS. It defaults to 0 (do not display hostname when localy
connected). Set it to 1 if you want to always see the hostname.
2012-08-07 20:52:32 +02:00
nojhan
e30b5fc651 typofix: add comma between lines changed and pending commits 2012-08-04 19:55:56 +02:00
nojhan
20d2e909bc show the number of added/deleted lines, if changes have been made in a GIT repository 2012-08-04 19:52:24 +02:00
nojhan
bf46824121 You can temporarily deactivate the liquid prompt and come back to your previous one by typing . Use to bring it back. 2012-08-04 19:05:34 +02:00
Thomas DEBESSE
8f712bb0c0 try the XDG Base Directory Specification if the dotfile is not here 2012-08-04 17:47:56 +02:00
nojhan
65b9e62ab3 update the doc about the configuration 2012-08-01 19:33:32 +02:00
nojhan
d95c9f5a21 80 columns justification 2012-07-29 22:20:12 +02:00
nojhan
67ba690d55 a green colon if the user has write permissions on the current directory, a red one if he has not 2012-07-29 22:19:34 +02:00
nojhan
ee1458152c update the doc 2012-07-29 22:09:11 +02:00
nojhan
1745851759 add detached screen session count 2012-07-29 22:05:19 +02:00
nojhan
94133ad1c8 different color if the user is not the login one 2012-07-19 15:08:18 +02:00
nojhan
3b1d492c71 small typo on the source command 2012-07-19 14:48:20 +02:00
nojhan
ddca4ade85 small typos in the readme 2012-07-19 14:23:20 +02:00
nojhan
c13e6d795f explanations about liquidprompt 2012-07-19 14:17:32 +02:00