mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
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>
This commit is contained in:
parent
1ad6d30a36
commit
70204a2d0f
|
@ -118,7 +118,7 @@ start_preview() {
|
||||||
TERMINAL=tmux
|
TERMINAL=tmux
|
||||||
elif [ -n "$KITTY_LISTEN_ON" ]; then
|
elif [ -n "$KITTY_LISTEN_ON" ]; then
|
||||||
TERMINAL=kitty
|
TERMINAL=kitty
|
||||||
elif [ -n "$WEZTERM_UNIX_SOCKET" ]; then
|
elif [ -n "$WEZTERM_PANE" ]; then
|
||||||
TERMINAL=wezterm
|
TERMINAL=wezterm
|
||||||
elif [ -z "$TERMINAL" ] && [ "$TERM_PROGRAM" = "iTerm.app" ]; then
|
elif [ -z "$TERMINAL" ] && [ "$TERM_PROGRAM" = "iTerm.app" ]; then
|
||||||
TERMINAL=iterm
|
TERMINAL=iterm
|
||||||
|
|
Loading…
Reference in a new issue