fix(zsh): do not provide PWD

resolves #1605
This commit is contained in:
Jan De Dobbeleer 2022-02-13 18:55:59 +01:00 committed by Jan De Dobbeleer
parent 4a713b2a23
commit 91ebe662bf

View file

@ -14,7 +14,7 @@ function _omp-precmd() {
omp_now=$(::OMP:: --millis)
omp_elapsed=$(($omp_now-$omp_start_time))
fi
eval "$(::OMP:: --config="$POSH_THEME" --error="$omp_last_error" --execution-time="$omp_elapsed" --stack-count="$omp_stack_count" --eval --shell=zsh --pwd="$PWD")"
eval "$(::OMP:: --config="$POSH_THEME" --error="$omp_last_error" --execution-time="$omp_elapsed" --stack-count="$omp_stack_count" --eval --shell=zsh)"
unset omp_start_time
unset omp_now
unset omp_elapsed