From 70204a2d0fccd96264e0a6a66ab22e58f5ccafa5 Mon Sep 17 00:00:00 2001 From: Nizamuddin Sulieman Date: Sat, 4 Feb 2023 07:36:57 +0800 Subject: [PATCH] Update plugins/preview-tui use `$WEZTERM_PANE` instead, since `$WEZTERM_UNIX_SOCKET` is not set on Linux Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com> --- plugins/preview-tui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/preview-tui b/plugins/preview-tui index 0a13e14e..6d727114 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -118,7 +118,7 @@ start_preview() { TERMINAL=tmux elif [ -n "$KITTY_LISTEN_ON" ]; then TERMINAL=kitty - elif [ -n "$WEZTERM_UNIX_SOCKET" ]; then + elif [ -n "$WEZTERM_PANE" ]; then TERMINAL=wezterm elif [ -z "$TERMINAL" ] && [ "$TERM_PROGRAM" = "iTerm.app" ]; then TERMINAL=iterm