Describe the bug
DevcontainerConnect silently fails when using alacritty as a terminal emulator. Neovim closes, but no new terminal window spawns to connect to the devcontainer.
To Reproduce
Steps to reproduce the behavior:
- Use alacritty as your terminal emulator (no tmux session active)
- Open a project with a
.devcontainer config in Neovim
- Run
:DevcontainerUp to start the container
- Run
:DevContainerConnect
- Neovim closes but no alacritty window appears
Expected behavior
A new alacritty window should open running devcontainer exec --workspace-folder <path> nvim.
Root cause
Typo in lua/devcontainer-cli/devcontainer_utils.lua — vim.fn.executable("allacrity") should be vim.fn.executable("alacritty"). The terminal detection falls through all checks and hits the "no supported terminal emulator found" branch.
Additional context
- Plugin commit:
a92bae84eedaadcef1a0fcabb9d58a3c2bc28ebc
- Workaround: run neovim inside tmux (the plugin checks
$TMUX first, before falling through to alacritty detection)
Describe the bug
DevcontainerConnectsilently fails when using alacritty as a terminal emulator. Neovim closes, but no new terminal window spawns to connect to the devcontainer.To Reproduce
Steps to reproduce the behavior:
.devcontainerconfig in Neovim:DevcontainerUpto start the container:DevContainerConnectExpected behavior
A new alacritty window should open running
devcontainer exec --workspace-folder <path> nvim.Root cause
Typo in
lua/devcontainer-cli/devcontainer_utils.lua—vim.fn.executable("allacrity")should bevim.fn.executable("alacritty"). The terminal detection falls through all checks and hits the "no supported terminal emulator found" branch.Additional context
a92bae84eedaadcef1a0fcabb9d58a3c2bc28ebc$TMUXfirst, before falling through to alacritty detection)