Skip to content

Zsh suggestions/completions don't work for Justfiles (possibly other files too) #1906

Description

@r614

Discord username (optional)

No response

Describe the bug

Open a shell in Warp, type just <tab> - will show file suggestions instead of just commands in the current directory's Justfile.

May extend to all Zsh autocompletions, I haven't tested it throughly.

To Reproduce

Use a Zsh terminal and install Just, Autocompletions

Create a Justfile:

set shell := ["bash", "-c"]

@default:
  just --list --unsorted

@test:
  echo 'test'

Try typing just and press Tab

Expected behaviour

Shows the zsh suggestions instead of files in the current dir - in this case, the Just commands

Screenshots

image

Operating System

MacOS

OS Version

12.2

Shell Version

zsh 5.8

Warp Version

v0.2022.09.20.08.08.stable_01

Additional context

No response

Does this block you from using Warp daily?

Yes

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.enhancementNew feature or request.ready-to-implementThe issue is ready for implementation work.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions