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.09k stars 360 forks source link

Automatically remove $ (dollar sign) from pasted commands #4908

Open krzkaczor opened 4 months ago

krzkaczor commented 4 months ago

Dupe Check

Describe the solution you'd like?

Usually, commands shared on the internet are prepended with $ (dollar sign), for example:

$ bun setup

It would be cool if warp would automatically detect $ and remove it so I can quickly paste and hit enter to execute the command. This should also work for multine input like:

$ brew tap oven-sh/bun
$ brew install bun

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

No response

Additional context

Years ago I wrote a plugin to hyper that does the same thing (and more!): https://github.com/krzkaczor/hyperterm-paste#description With iTerm I used custom script executed on cmd+v (paste).

No response

How important is this feature to you?

3

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

None

dannyneira commented 4 months ago

Thanks for this feature request @krzkaczor

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.