add an example of sourcing theme and ps1 config

This commit is contained in:
nojhan 2012-09-09 23:03:39 +02:00
parent 0efdd9da71
commit 6db36ab573
2 changed files with 7 additions and 4 deletions

View File

@ -131,7 +131,7 @@ in your config file, you will not have the battery informations.
## PUT THE PROMPT IN A DIFFERENT ORDER ## PUT THE PROMPT IN A DIFFERENT ORDER
You can sort what you want to see by sourcing your favorite template file You can sort what you want to see by sourcing your favorite template file
(`*.ps1`), after having sourced the liquid prompt. (`*.ps1`) in the configuration file.
Those scripts basically export the `LP_PS1` variable, by appending features and Those scripts basically export the `LP_PS1` variable, by appending features and
theme colors. theme colors.
@ -167,9 +167,7 @@ To erase your new formatting, just bring the `LP_PS1` to a null string:
## THEMES ## THEMES
You can change the colors and special characters of some part of the liquid You can change the colors and special characters of some part of the liquid
prompt by sourcing your favorite theme file (`*.theme`), before having sourced prompt by sourcing your favorite theme file (`*.theme`) in the configuration file.
the liquid prompt.
### COLORS ### COLORS

View File

@ -3,6 +3,11 @@
# LIQUID PROMPT CONFIGURATION FILE # # LIQUID PROMPT CONFIGURATION FILE #
#################################### ####################################
# If you want to use different themes and features,
# you can load the corresponding files here:
#source ~/code/liquidprompt/nojhan.theme
#source ~/code/liquidprompt/nojhan.ps1
############# #############
# BEHAVIOUR # # BEHAVIOUR #
############# #############