Skip to content

Commit b2a821b

Browse files
Added support for opening a split pane in WezTerm
1 parent 59bb70d commit b2a821b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/devcontainer-cli/devcontainer_utils.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ function M.create_connect_cmd()
232232
local connect_command = {}
233233
if vim.env.TMUX ~= "" then
234234
connect_command = { "tmux split-window -h -t \"$TMUX_PANE\"" }
235+
elseif vim.fn.executable("wezterm") == 1 then
236+
connect_command = { "wezterm cli split-pane --right --cwd ." }
235237
elseif vim.fn.executable("allacrity") == 1 then
236238
connect_command = { "alacritty --working-directory . --title \"Devcontainer\" -e" }
237239
elseif vim.fn.executable("gnome-terminal") == 1 then

0 commit comments

Comments
 (0)