Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Autocomplete can not work when filename contains a space

Open semparichyoung opened this issue 3 years ago • 3 comments

Describe the bug

In terminal will use a \ to escape space(" ").

In Warp, it is the same, but if the file is a folder, it will not able to continue to autocomplete after the folder which the name with space.

To Reproduce

Steps to reproduce:

  1. Change a folder name with space, like 'Group 210125'
  2. Type: cd Grou + TAB
  3. The folder name will show, but after that TAB will out of work

Expected behaviour

TAB should always works no matter there is space or not.

Screenshots

No response

Operating System

MacOS

OS Version

11.6.2

Additional context

No response

semparichyoung avatar Jan 25 '22 07:01 semparichyoung

@semparichyoung can you send a video please?

elviskahoro avatar Jan 28 '22 05:01 elviskahoro

YouTube Link I always try tab first, then enter, arrow key. This will work only if there is a history start with same command.

semparichyoung avatar Jan 28 '22 06:01 semparichyoung

This bug also appears when you attempt to copy the path in a referenced file. The space does not get escaped properly.

BryanAtVimcal avatar Aug 08 '22 21:08 BryanAtVimcal

I'd like to note that, while not being a show-stopper, this issue annoys me on a daily basis. I have some folders with spaces in their names, and it's real pain to navigate around them. Also, I recently noticed that this is a regression: when I opened Warp on my previous Mac (an older version of Warp) it worked fine.

ark-1 avatar Sep 30 '22 10:09 ark-1

Aloke is gonna take a look into this when he gets back from vacation.

warpdotdev-devx avatar Oct 04 '22 16:10 warpdotdev-devx

Would love this to get fixed. Thanks!

clauber115 avatar Oct 04 '22 20:10 clauber115

Yup, bit annoying, especially when on macOS you have lots of folders/filenames with spaces. Not to mention I moved from iTerm2+oh-my-zsh. Counting on you guys 🤞

gutaker avatar Oct 12 '22 18:10 gutaker

Still having this issue.

EDIT: Oh the issue is still open on 669.

EDIT: This is a massive issue and really hinders usage.

Wonder if we can prioritize this @dannyneira?

vysecurity avatar Nov 29 '22 04:11 vysecurity

Still having this issue.

EDIT: Oh the issue is still open on 669.

EDIT: This is a massive issue and really hinders usage.

Wonder if we can prioritize this @dannyneira?

For sure can bring this up with the team.

dannyneira avatar Dec 02 '22 05:12 dannyneira

Sounds good! It should be a good one to fix as many people also have spaces in their file names.

vysecurity avatar Dec 02 '22 07:12 vysecurity

Hi Folks, this is being worked on, no solid ETA on the fix, but we'll post updates on this thread as soon as we have them.

dannyneira avatar Dec 27 '22 17:12 dannyneira

This is launched!

elviskahoro avatar Jan 13 '23 23:01 elviskahoro