Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warp autocompletes incorrectly for cd to a directory with a space in it #5738

Open
1 task done
BrianKravitz opened this issue Jan 25, 2025 · 2 comments
Open
1 task done
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@BrianKravitz
Copy link

Dupe Check

Describe the bug

Warp sometimes autocompletes without escaping spaces in directory names, but it's intermittent even for the same directory.

For example, I have a directory called "Development/Stanford/CS224N/Assignment 3". This morning when I was in ~ and typed "cd Dev" it autocompleted to "cd Development/Stanford/CS224N/Assignment 3" (note the lack of escape slash before the space). This failed when I tried to execute the cd command. Then I manually inserted the slash before the space and it worked. Now, that autocomplete has the slash in it (maybe because it's in my history that way?).

To reproduce

  1. New shell in ~
  2. Type "cd Dev"
  3. Autocompletes to "cd Development/Stanford/CS224N/Assignment 3"
  4. Press Enter. It fails.
  5. Type "cd Dev", press Tab/Right arrow, then manually insert the slash before the space
  6. Press Enter. It works.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

15.2.0

Shell Version

No response

Current Warp version

v0.2025.01.22.08.02.stable_02

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

Unknown - seemed to work fine last week for other directories with spaces in them

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

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

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@BrianKravitz BrianKravitz added the Bugs Bugs, Hangs, Crash, and Freezes label Jan 25, 2025
@BrianKravitz
Copy link
Author

Screenshot:

Image

@BrianKravitz
Copy link
Author

After autocompleting and pressing enter:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

1 participant