fix: remove double invocation of --shell argument

This commit is contained in:
Luca Ercole 2021-03-18 18:56:15 +01:00 committed by Jan De Dobbeleer
parent 8de004ff53
commit 5f035f8855

View file

@ -14,7 +14,7 @@ function _omp_hook() {
omp_elapsed=$((omp_now-omp_start_time))
rm "$TIMER_START"
fi
PS1="$(::OMP:: --config $POSH_THEME --shell bash --error $ret --execution-time $omp_elapsed --shell bash)"
PS1="$(::OMP:: --config $POSH_THEME --shell bash --error $ret --execution-time $omp_elapsed)"
return $ret
}