File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ DevcontainerConnect devcontainer-cli.nvim.txt /*DevcontainerConnect*
2+ DevcontainerDown devcontainer-cli.nvim.txt /*DevcontainerDown*
3+ DevcontainerExec devcontainer-cli.nvim.txt /*DevcontainerExec*
4+ DevcontainerToggle devcontainer-cli.nvim.txt /*DevcontainerToggle*
5+ DevcontainerUp devcontainer-cli.nvim.txt /*DevcontainerUp*
6+ devcontainer-cli.nvim devcontainer-cli.nvim.txt /*devcontainer-cli.nvim*
7+ devcontainer-cli.nvim.txt devcontainer-cli.nvim.txt /*devcontainer-cli.nvim.txt*
Original file line number Diff line number Diff line change @@ -230,10 +230,11 @@ function M.create_connect_cmd()
230230 callback =
231231 function ()
232232 local connect_command = {}
233- if vim .env .TMUX ~= " " then
233+ if vim .env .TMUX ~= nil then
234234 connect_command = { " tmux split-window -h -t \" $TMUX_PANE\" " }
235235 elseif vim .fn .executable (" wezterm" ) == 1 then
236- connect_command = { " wezterm cli split-pane --right --cwd ." }
236+ connect_command = { " wezterm cli split-pane --right --cwd . -- bash -c" }
237+ dev_command = " \" " .. dev_command .. " \" "
237238 elseif vim .fn .executable (" allacrity" ) == 1 then
238239 connect_command = { " alacritty --working-directory . --title \" Devcontainer\" -e" }
239240 elseif vim .fn .executable (" gnome-terminal" ) == 1 then
@@ -244,6 +245,7 @@ function M.create_connect_cmd()
244245 connect_command = { " Terminal.app" }
245246 else
246247 log .error (" no supported terminal emulator found." )
248+ return false
247249 end
248250
249251 table.insert (connect_command , dev_command )
You can’t perform that action at this time.
0 commit comments