Skip to content

Typo in terminal detection: allacrityalacritty breaks DevcontainerConnect #31

@ronald2wing

Description

@ronald2wing

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:

  1. Use alacritty as your terminal emulator (no tmux session active)
  2. Open a project with a .devcontainer config in Neovim
  3. Run :DevcontainerUp to start the container
  4. Run :DevContainerConnect
  5. 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.luavim.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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions