warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.39k stars 374 forks source link

exa command with long option does not work autocomplete with next (deep) level directory #2704

Open kawahara-kunio opened 1 year ago

kawahara-kunio commented 1 year ago

Discord username (optional)

No response

Describe the bug

exa command with long option, like --time-style=long-iso, works autocomplete with top level directory, but does not work with next lelve directory. Without long option, it works with both top level and next level directories.

To Reproduce

  1. Input exa --time-style=long-iso.
  2. For directory search, input tab, select a directory and enter.
  3. For next level directory search, input tab, and no reply.

Expected behaviour

No response

Screenshots

It's NOT O.K. with option.

スクリーンショット 2023-02-24 19 27 58

It's O.K. without option.

スクリーンショット 2023-02-24 19 27 24

Operating System

MacOS

OS Version

13.2.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Warp Version

v0.2023.02.21.08.03.stable_01

Additional context

This issue resembles the issue (When alias ll ,tab-key can't call autocomplete)

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

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

None

dannyneira commented 1 year ago

Hi @kawahara-kunio, appreciate your submission.

I wasn't able to reproduce this on my end, may you try enabling 'Open completions as you Type' in the Settings > Features https://docs.warp.dev/features/completions#how-to-access-it

It should work like the below:

https://user-images.githubusercontent.com/16809145/221305006-22828c6d-740d-4851-966f-cc2f511f556e.mp4

Please let us know if that helps with your issue and if okay to close.

kawahara-kunio commented 1 year ago

Thank you for your quick reply.

It should work like the below:

No. First level directory is O.K. (i.e. suggested). But, second level directory is not suggested. Only in case of fist level directory, the suggestion feature works. See the Screenshots above, please.

Without option --time-style=long-iso, second level directories of Library, which are Accounts, AppleMediaServices and so on, are suggested. But, with option --time-style=long-iso, any second level directory isn't suggesed.

With option --time-style=long-iso

~/Library/          ... It's O.K. (suggested)
 ├── Accessibility/ ... It's NOT O.K. (not suggested)
 ├── Accounts/                        (same above)

Without option --time-style=long-iso

~/Library/          ... It's O.K. (suggested)
 ├── Accessibility/ ... It's O.K. (suggested)
 ├── Accounts/                    (same above)