From 91ebe662bf64be3ed0c1522d41b1dd4e9657b601 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 13 Feb 2022 18:55:59 +0100 Subject: [PATCH] fix(zsh): do not provide PWD resolves #1605 --- src/engine/init/omp.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/init/omp.zsh b/src/engine/init/omp.zsh index e0d8ff88..4b8f11a4 100644 --- a/src/engine/init/omp.zsh +++ b/src/engine/init/omp.zsh @@ -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