warpdotdev / warpdotdev/warp

Taking the post sudo activity in same block

Open
#4,743 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-info 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

When we became the sudo user we that all the later commands were in the getting in same block and causing the missing of the script

To reproduce

ssh to instance
become sudo user with sudo -i
later commands were consided as same command as the sudo -i

Expected behavior

No response

Screenshots
Operating system

MacOS

Operating system and version

14.4.1

Shell Version

No response

Current Warp version

v0.2024.04.09.08.01.stable_01

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?

No

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

Start by reproducing the SSH workflow on macOS in Warp: run sudo -i and then execute later commands, comparing the result with another terminal. Done means commands after sudo -i are placed in separate blocks and the script is not missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.