Skip to content

devenv shell: support fish as interactive shell #2487

Description

@schickling

Problem

devenv shell currently only supports bash as the interactive shell. For users whose default shell is fish, this means devenv shell drops them into bash instead of fish, losing their fish configuration, functions, completions, and prompt.

Context

Issue #36 tracks zsh support, and recent work (by @sandydoo and @mcdonc) has made progress on alternative shell support. Fish is another commonly used shell that would benefit from the same treatment.

As devenv moves toward replacing direnv (#2061), native fish support in devenv shell becomes a prerequisite for fish users to migrate away from the use devenv direnv integration.

Expected behavior

devenv shell should detect the user's preferred shell (via $SHELL or similar) and launch fish when appropriate, with the devenv environment correctly exported.


This issue was created on behalf of @schickling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions