Skip to content

Using the Fish shell, task name tab-completion includes whitespace and the task's description #2591

@WinkelCode

Description

@WinkelCode

Description

Since at least 3.46.1, the fish tab completion isn't working as expected. In the below example, I used tab-completion for the task name in the third command.

$ cat Taskfile.yml
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"

tasks:
  default:
    desc: "Default task"
    cmds:
      - echo "Hello, World!"
$ task --list
task: Available tasks for this project:
* default:       Default task
$ task '* default:       Default task' 
task: Available tasks for this project:
* default:       Default task
task: Task "* default:       Default task" does not exist

Version

3.46.2

Operating system

macOS 26.2 (25C56)

Experiments Enabled

No response

Example Taskfile

N/A, applies to any Taskfile. See above for minimal example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: completionsChanges related to shell completions and scripts.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions