Skip to content

Completion of environment variables doesn't work correctly #3928

@dcervenkov

Description

@dcervenkov

Discord username (optional)

No response

Describe the bug

Some environment variable names are missing from completion suggestions.

To reproduce

  1. Execute export TEST_VAR=1
  2. Type echo $TES
  3. Press Tab

Expected behavior

I expect to see TEST_VAR among the suggestions.

Screenshots

Screenshot 2023-12-04 at 14 55 18

Operating system

MacOS

Operating system and version

14.0

Shell Version

zsh 5.9 (arm-apple-darwin23.0.0)

Current Warp version

v0.2023.11.14.08.02.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

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

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:completionsStandard shell completions, argument completions, and path completion.bugSomething isn't working.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