warpdotdev / warpdotdev/warp

apt autocomplete doesn't work

Open
#4,290 10 comments 8 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

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

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 Ubuntu 22.04 with bash by typing apt and pressing Tab twice, comparing the suggestions with the standard terminal behavior shown in the issue. Trace the autocomplete path for apt commands and account for the reported launch configurations; done means Warp provides the expected apt suggestions.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux, rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.