Skip to content

Commit 0f7d348

Browse files
fix(zsh): do not allow variable expansion when using shwordsplit
resolves #6606
1 parent 542c173 commit 0f7d348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shell/scripts/omp.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ function _omp_render_tooltip() {
147147
return
148148
fi
149149

150-
_omp_tooltip_command="$tooltip_command"
151-
local tooltip=$(_omp_get_prompt tooltip --command="$tooltip_command")
150+
_omp_tooltip_command="${tooltip_command}"
151+
local tooltip=$(_omp_get_prompt tooltip --command="${tooltip_command}")
152152
if [[ -z $tooltip ]]; then
153153
return
154154
fi

0 commit comments

Comments
 (0)