Skip to content

Typo in terminal detection: allacrity → alacritty breaks DevcontainerConnect #31

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.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)

Activity

  1. changed the title [-]Typo in terminal detection: `allacrity` → `alacritty` breaks `DevContainerConnect`[/-] [+]Typo in terminal detection: `allacrity` → `alacritty` breaks `DevcontainerConnect`[/+] on May 10, 2026
  2. added a commit that references this issue on May 12, 2026
    a56df49
  3. Jah-yee commented on May 12, 2026

    @Jah-yee
    Contributor

    PR submitted 🎉

    Just opened PR #32 fixing the allacrity → alacritty typo in lua/devcontainer-cli/devcontainer_utils.lua line 238.

    The terminal detection now correctly finds alacritty when installed. Thanks for the detailed bug report!

  4. Jah-yee commented on May 20, 2026

    @Jah-yee
    Contributor

    Friendly follow-up 👋

    Hi @erichlf! Just checking in on this PR.

    PR #32 is a simple 1-line fix: corrects the alacritty executable name (allacrity → alacritty) in terminal detection.

    Status: CLEAN/mergeable, just waiting on review.

    Is there anything I can adjust or any questions I can answer? 🙏

  5. erichlf commented on May 20, 2026

    @erichlf
    Owner

    Thanks for the ping github hasn't been notifying about any issues.

  6. added a commit that references this issue on May 20, 2026
    00b08c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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