Skip to content

Fish shell tab completion for paths in git commands #1191

@srudolph-credera

Description

@srudolph-credera

Discord username (optional)

S Rudolph#1618

Describe the bug

When running git commands in the fish shell, hitting the tab key has no effect after entering a partial file path (e.g. `git add fi<tab>` would not complete to `git add file`. This does not appear to be an issue when using Zsh or when using fish with the built-in Terminal.app.

To Reproduce

Steps to reproduce:

  1. Start Warp with the fish shell
  2. Change directory to a git folder
  3. Attempt tab completion with a git command like git add fi<tab>

Expected behaviour

After hitting tab, either all available completion options are shown and hitting tab again cycles through them or, if only one option is available, that option is autocompleted.

Screenshots

No response

Operating System

MacOS

OS Version

12.3.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.area:window-tabs-panesWindow, tab, pane, and workspace layout management.bugSomething isn't working.needs-infoMore issue-specific reporter detail is needed before the problem can be confidently triaged.ready-to-implementThe issue is ready for implementation work.triagedIssue has received an initial automated triage pass.

    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