Fix custom.ps1 sourcing

This commit is contained in:
Luc Didry 2013-03-12 21:02:28 +01:00
parent 3d711323d5
commit 48743da6e3
2 changed files with 3 additions and 1 deletions

View File

@ -1299,6 +1299,8 @@ _lp_set_prompt()
esac
fi
source $LP_PS1_FILE
if [[ -z $LP_PS1 ]] ; then
# add title escape time, jobs, load and battery
PS1="${LP_PS1_PREFIX}${LP_TIME}${LP_BATT}${LP_LOAD}${LP_JOBS}"

View File

@ -6,7 +6,7 @@
# 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
#LP_PS1_FILE="~/code/liquidprompt/nojhan.ps1"
#############
# BEHAVIOUR #