Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set -e causes warp to exit. #5456

Open
1 task done
prsabahrami opened this issue Nov 6, 2024 · 3 comments
Open
1 task done

Set -e causes warp to exit. #5456

prsabahrami opened this issue Nov 6, 2024 · 3 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@prsabahrami
Copy link

Dupe Check

Describe the bug

Warp terminal instantly exixts upon running the set -e command. I have tried running the command on other terminals and it seems to be working. I also tried the command on Warp on another device and the issue persisted.

To reproduce

Type set -e in the terminal.

Expected behavior

Stay in the shell and modify the shell behaviour based on the options given to the set command.

Screenshots

No response

Operating system

MacOS

Operating system and version

MacOS 14.6.1

Shell Version

zsh 5.9

Current Warp version

v0.2024.10.29.08.02.stable_02

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 an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@prsabahrami prsabahrami added the Bugs Bugs, Hangs, Crash, and Freezes label Nov 6, 2024
@dannyneira
Copy link
Member

Hi @prsabahrami Sorry to hear about this. I'm not seeing the same in my version of Warp. It looks like you're on the latest version of Warp, is there any chance you can share your ~/.zshrc file (make sure to remove any personal info)? This may help us with reproducing the issue. If not can you please provide a copy of your logs (these don't include any input/output). https://docs.warp.dev/help/sending-us-feedback#gathering-warp-logs

@vorporeal
Copy link

@prsabahrami I'm guessing some command that Warp is running to compute the prompt is producing an error, and while we handle the error cleanly, set -e is still detecting it and causing the shell process to terminate. We can look into which command is failing and adjust its execution so set -e doesn't pick up on it.

@prsabahrami
Copy link
Author

Hi @vorporeal @dannyneira. Sorry for the delay.
Please find the logs attached.
warp-logs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

3 participants