Commit Graph

76 Commits

Author SHA1 Message Date
nojhan
f483697fda Merge branch 'develop' of github.com:nojhan/liquidprompt into develop 2013-04-20 21:53:09 +02:00
nojhan
91959b636a Add an analog clock
Using `LP_TIME_ANALOG`, you can now display an analog clock instead of
numeric values. The analog clock is "accurate" to the nearest half hour.
2013-04-20 21:51:55 +02:00
François Schmidts
74f9ca846c updating documentation 2013-04-17 14:19:16 +02:00
nojhan
b77940ed2e Update the README about LP_DISABLED_VCS_PATH 2013-04-09 23:00:05 +02:00
polyphemus
9bae88a686 update README about tmux support. 2013-03-14 23:18:20 +01:00
nojhan
9d4ded5799 Update the README
Bazaar support and LP_PS1_FILE were missing.
2013-03-13 11:56:28 +01:00
nojhan
0ee5944f79 Differents colors for differents hosts you SSH in
Adds the LP_ENABLE_SSH_COLORS option to use a numeric hash of the hostname as the displayed color.
2013-03-12 00:02:04 +01:00
nojhan
3d711323d5 Replace lptag by prompt_tag
prompt_tag is more consistent with the other prompt_* functions.
2013-03-11 23:05:10 +01:00
Nicolas LACOURTE
c5e642a09f Add more generic test for screen/byobu/tmux title 2013-03-08 12:05:42 +01:00
Nicolas LACOURTE
2296081d01 Add case for screen title escape chars 2013-03-08 12:05:42 +01:00
nojhan
b55126e7d3 Display colored brackets in a term multiplexer
A pair of square brackets, colored in blue if your current shell is running in a
terminal multiplexer (screen or tmux).
2013-02-26 14:18:58 +01:00
nojhan
31caf8a72d Add the lptag function to add a prefix
Note: the `lptag` function is  convenient way to add a prefix. You can thus add
a keyword to your different terminals:

    [:~/code/liquidprompt] develop ± lptag mycode
    mycode [:~/code/liquidprompt] develop ±
2013-02-26 13:37:31 +01:00
nojhan
883901008b Merge pull request #98 from jaesivsm/feature/vcs
Feature/vcs
2013-01-24 02:08:27 -08:00
François Schmidts
9ca0b9d239 modification of the documentation concerning the LP_VCS 2013-01-23 18:26:21 +01:00
nojhan
b776cd8e64 Display a yellow + if stashs
Add a yellow + after the git infos, if there is at least one stash.
The * in case of untracked file is now red.
2013-01-17 23:02:17 +01:00
nojhan
e2b51ef3da Merge branch 'master' of github.com:nojhan/liquidprompt 2013-01-17 21:44:36 +01:00
nojhan
8773806485 Note about PROMPT_COMMAND 2013-01-17 21:44:16 +01:00
Johann Dreo
1826cfa007 solve a remaining merge conflict in the readme 2013-01-17 11:29:55 +01:00
Johann Dreo
819c2c5ae2 manual merge 2013-01-16 15:47:47 +01:00
nojhan
3aedf713f4 Merge pull request #89 from jaesivsm/feature/dirtrim
Feature/dirtrim
2013-01-12 08:36:00 -08:00
nojhan
36659d81ee Merge pull request #91 from milouse/develop
Add support for Fossil SCM (the return)
2013-01-12 08:16:42 -08:00
Étienne Deparis
7df52a3d53 Invert if order to speed up a bit the prompt display when parsing a fossil repository 2013-01-12 16:29:55 +01:00
Johann Dreo
08666e4e31 Merge branch 'lp_as_title' of ssh://localhost:8480/nojhan/liquidprompt into lp_as_title 2013-01-11 10:23:34 +01:00
Johann Dreo
f34996baa6 Add an option to hide the logged user
LP_USER_ALWAYS=1 will display the user, even if he is the same than the logged one.
Defaults to 1 (always display the user), set to 0 if you want to hide the logged user (it will always display different users).
2013-01-11 10:15:12 +01:00
nojhan
11473777ca Replicate the prompt in the title
Add an explicit option to replicate the whole computed liquid prompt in the window's title.
(Works with a vanilla xterm, but not under xterm-256 for me)
2013-01-10 17:18:45 +01:00
François Schmidts
977fca59fb adding comments and documentation 2013-01-10 10:22:58 +01:00
Étienne Deparis
2e8718f1d0 Changege the untracked behavior to the same as git. Fix branch display bug while browsing deep fossil repositories 2013-01-05 23:03:26 +01:00
nojhan
947781bac9 Default prefix put a classical prompt as title
Update the doc and themes accordingly
2013-01-04 14:08:26 +01:00
nojhan
af43ec0eac Merge branch 'ps1-prefix' of https://github.com/dr4Ke/liquidprompt into develop 2013-01-04 13:54:48 +01:00
Christophe Drevet
07e177ef70 added a CUSTOMIZING THE PROMPT section 2013-01-04 13:08:36 +01:00
Christophe Drevet
db313ba89e LP_PS1_PREFIX used to add arbitrary prompt before anything else 2013-01-04 13:01:06 +01:00
Christophe Drevet
a50b988f59 LP_ENABLE_VCS_ROOT to enable use of VCS features with root 2013-01-04 12:13:00 +01:00
nojhan
45cdcdba0a move virtual env function in the path section, move the display from the front to the path section of the prompt, inside brackets, add flepied as an author, update the readme 2013-01-03 16:44:15 +01:00
nojhan
452ef223ce Better default host colorscheme
Add two color for the X11 support, green (support) and yellow (no support, not
set in red, because it is not a critical warning). The bold cyan of the hostname
was to close to the green of the colon and the @, change it to blue.
2012-09-25 21:13:08 +02:00
nojhan
5794c3aeac Feature: blue @ when connected with X11 support
If the current connection supports X (if we are in a X session or if we have
enabled X11 forwarding under ssh), the @ displayed in front of the hostname
is colored in blue (use LP_COLOR_X11 to change the color).
2012-09-23 23:07:51 +02:00
nojhan
6db36ab573 add an example of sourcing theme and ps1 config 2012-09-23 22:40:12 +02:00
nojhan
733522d2c7 Merge branch 'master' of https://github.com/nojhan/liquidprompt 2012-08-16 23:22:08 +02:00
nojhan
861f7c382d Add the screenshot to the readme 2012-08-16 20:47:41 +03:00
nojhan
39ba4c33f1 Add conditionnal enabling for the battery meter
Early detection when `acpi` is missing.
Update the README.
2012-08-16 17:10:58 +02:00
nojhan
38c4362836 Add enable parameters for all features
Merge branch 'disable_vcs' of ssh://localhost:8480/ldidry/liquidprompt into develop
If permissions are not enabled, echo a uncolored colon.
2012-08-16 15:34:03 +02:00
nojhan
a3be8d3465 More consistent special chars variable names
Basically rename LP_*_MARK to LP_MARK_* and list them in the README.
2012-08-16 15:22:01 +02:00
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