warpdotdev / warpdotdev/warp

TAB key does not autocomplete folder name after `cd` but does after `ls` (in iTerm2 both work)

Open
#4,581 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:completions bug ready-to-implement triaged
Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Discord username (optional)

No response

Describe the bug

TAB key does not autocomplete folder name after cd but does after ls (in iTerm2 both work)

To reproduce

ls On ... + TAB works
cd On ... + TAB does not work

in iTerm2 both work

the folder name is OneDrive - XXX Corporation

Expected behavior

both should auto complete

Screenshots

No response

Operating system

MacOS

Operating system and version

14.1.0

Shell Version

No response

Current Warp version

v0.2024.03.12.08.02.stable_01

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:b9d78064-c89e-4973-b153-5178a31ee54e

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Warp on macOS 14.1 using a folder named OneDrive - XXX Corporation, comparing ls On... and cd On... followed by TAB. Trace the completion entry points for these commands and compare them with iTerm2; done means both commands autocomplete the folder name consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.