1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00

shell-integration: Fix syntax error due to missing double quote

This fixes a regression introduced in commit
24702de74a.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This commit is contained in:
Andrew Gunnerson 2024-09-15 15:51:33 -04:00 committed by Wez Furlong
parent 9bf30b8dd6
commit 2d0c5cddc9

View File

@ -488,7 +488,7 @@ __wezterm_semantic_precmd() {
function __wezterm_semantic_preexec() {
# Restore the original PS1/PS2 if set
if [ -n "${__wezterm_save_ps1+1}" ]; then
PS1=$__wezterm_save_ps1"
PS1="$__wezterm_save_ps1"
PS2="$__wezterm_save_ps2"
unset __wezterm_save_ps1
fi