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
20.23k stars 335 forks source link

[Alt + .] does not work on Linux #4589

Open msehnout opened 3 months ago

msehnout commented 3 months ago

Discord username (optional)

No response

Describe the bug

Similar to https://github.com/warpdotdev/Warp/issues/1597 but on Linux. alt + . should iterate over previous arguments or in case of fish shell over previous commands.

To reproduce

# in fish shell
~ $ echo 'hello'
hello
~ $ echo 

# now hit alt + . once and you get
~ $ echo 'hello'
hello
~ $ echo 'hello'

# now hit alt + . again and you get
~ $ echo 'hello'
hello
~ $ echo echo

Expected behavior

Works the same way it works in Gnome terminal or Tilix.

Screenshots

No response

Operating system

Linux

Operating system and version

Fedora 39

Shell Version

fish, version 3.7.0

Current Warp version

v0.2024.03.12.08.02.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

Warp on Linux, Gnome shell on Wayland

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

dannyneira commented 3 months ago

Thanks for letting us know @msehnout We'll post any updates on this thread. As a possible workaround, you can run fish and use it as a subshell within Warp, Blocks and Warps completions will not function, but Warp should fall back to standard behavior.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.