mirror of
https://github.com/jarun/nnn.git
synced 2024-11-04 13:53:35 +03: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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user