Warp icon indicating copy to clipboard operation
Warp copied to clipboard

apt autocomplete doesn't work

Open dolikemedo opened this issue 1 year ago • 9 comments

Discord username (optional)

No response

Describe the bug

typing "sudo apt " then tab-tab brings up these suggestions:

image

instead of this: image

Setup: Warp version: warp-terminal/stable,now 0.2024.02.20.08.01.stable.01 amd64 [installed] warp-terminal_0.2024.02.20.08.01.stable.01_amd64.deb

I only made a few launch configs in .local/share/warp-terminal/launch_configurations/

uname -a: Linux BB-8 6.5.0-21-generic #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 9 13:32:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

os-release:

PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"

shell:

bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

PS: What I fell in love with warp is the editor like input. I couldn't find anything like that. It's almost there but I still can't get rid of good ol ubuntu terminal.

To reproduce

type apt then tab-tab.

Expected behavior

No response

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22.04

Shell Version

No response

Current Warp version

No response

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?

Yes, this issue prevents me from using Warp daily.

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

dolikemedo avatar Feb 23 '24 18:02 dolikemedo

The same happens to me in Arch + i3 (pacman).

When I press "tab," it doesn't autocomplete anything.

Nejca13 avatar Feb 24 '24 13:02 Nejca13

Autocompletions don't work for me for anything after sudo

rayauxey avatar Feb 25 '24 07:02 rayauxey

Same issue here as well.

balarooty avatar Feb 26 '24 15:02 balarooty

same issue, it also won't list possible packages to install when doing "sudo apt install nvidia-" as an example either

torevald avatar Apr 02 '24 19:04 torevald

I am having the same issue on Mac and Linux. No suggestion after sudo Any progress?

mah3uz avatar Jun 02 '24 19:06 mah3uz

Hi all, the latest version of Warp (released yesterday) should have fixed the issues with sudo completions. Would you mind trying the latest build and confirming it has fixed the issue for you?

alokedesai avatar Jun 07 '24 13:06 alokedesai

It looks fine for simple commands, but systemctl commands don't autocomplete.

Examples: sudo systemctl restart apache2 or sudo systemctl list-units --type service

iambj avatar Jun 07 '24 14:06 iambj

@iambj Warp has builtin support for sysctl, but not systemctl command completions. As a workaround you can run your preferred shell in a subshell and fallback to shell completions with the caveat that you'll temporarily lose the Warp features.

dannyneira avatar Jun 07 '24 22:06 dannyneira