Fix custom.ps1 sourcing
This commit is contained in:
parent
3d711323d5
commit
48743da6e3
@ -1299,6 +1299,8 @@ _lp_set_prompt()
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source $LP_PS1_FILE
|
||||||
|
|
||||||
if [[ -z $LP_PS1 ]] ; then
|
if [[ -z $LP_PS1 ]] ; then
|
||||||
# add title escape time, jobs, load and battery
|
# add title escape time, jobs, load and battery
|
||||||
PS1="${LP_PS1_PREFIX}${LP_TIME}${LP_BATT}${LP_LOAD}${LP_JOBS}"
|
PS1="${LP_PS1_PREFIX}${LP_TIME}${LP_BATT}${LP_LOAD}${LP_JOBS}"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# If you want to use different themes and features,
|
# If you want to use different themes and features,
|
||||||
# you can load the corresponding files here:
|
# you can load the corresponding files here:
|
||||||
#source ~/code/liquidprompt/nojhan.theme
|
#source ~/code/liquidprompt/nojhan.theme
|
||||||
#source ~/code/liquidprompt/nojhan.ps1
|
#LP_PS1_FILE="~/code/liquidprompt/nojhan.ps1"
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# BEHAVIOUR #
|
# BEHAVIOUR #
|
||||||
|
Loading…
x
Reference in New Issue
Block a user