From 48743da6e3b865d52e80d7eec7f6402f3f802ea7 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Tue, 12 Mar 2013 21:02:28 +0100 Subject: [PATCH] Fix custom.ps1 sourcing --- liquidprompt | 2 ++ liquidpromptrc-dist | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index 0785fc5..0a6d2b0 100755 --- a/liquidprompt +++ b/liquidprompt @@ -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}" diff --git a/liquidpromptrc-dist b/liquidpromptrc-dist index 731d2ce..9bd6987 100644 --- a/liquidpromptrc-dist +++ b/liquidpromptrc-dist @@ -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 #