You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uname -av or ver(Windows):
Linux archrig 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux
Issue description
Opening a terminal pane from a plugin using the open_terminal command fails when default_shell is unset. (The same happens with open_terminal_floating, but open_command_pane works fine.
This code
open_terminal(get_plugin_ids().initial_cwd);
leads to this ERROR log
ERROR |zellij_server::pty | 2024-04-16 22:52:23.462 [pty ] [zellij-server/src/pty.rs:213]: Failed to spawn terminal: failed to spawn terminal for ClientId(1)
Caused by:
0: failed to spawn terminal for ClientId(1)
1: failed to spawn terminal
2: failed to open PTY for command ''
3: could not find command '' for terminal 5
2. Issues with the Zellij UI / behavior / crash
zellij --version
:zellij 0.41.0 (built from main)
uname -av
orver
(Windows):Linux archrig 6.8.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000 x86_64 GNU/Linux
Issue description
Opening a terminal pane from a plugin using the
open_terminal
command fails whendefault_shell
is unset. (The same happens withopen_terminal_floating
, butopen_command_pane
works fine.This code
leads to this
ERROR
logMinimal reproduction
Start zellij:
zellij --layout workspace.kdl
Press
t
, but nothing happensOther relevant information
Setting
default_shell
(to fish in my case) fixed the issue and terminal panes are spawning fine with that setting.Running
echo $SHELL
in a terminal pane spawned by the layout:The text was updated successfully, but these errors were encountered: