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.52k stars 376 forks source link

git commands e.g. `git push` autosuggest current branch #5275

Open AdamHe17 opened 2 months ago

AdamHe17 commented 2 months ago

Dupe Check

Describe the solution you'd like?

When I try to git push a branch, the autosuggest completion is always based on the last branch I worked with. I think it could be a bit smarter about using the current context.

image

So the above image could suggest git push develop instead.

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

1 (Not too important)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 2 months ago

Hi @AdamHe17 thanks for submitting. The grey text you're seeing is Autosuggestions, which is based on history so that may be why it's showing older branches. That being said, it could be improved.

To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.