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.97k stars 359 forks source link

Commands in config.fish are run twice #5297

Open mkenigs opened 1 week ago

mkenigs commented 1 week ago

Dupe Check

Describe the bug

Commands in config.fish are run twice, and this doubles startup time.

To reproduce

  1. Set fish to startup shell in Settings > Features
  2. Add echo "Starting fish" >> /tmp/fish to ~/.config/fish/config.fish. Alternatively add a sleep 5
  3. Open a new tab with command D.
  4. cat /tmp/fish and see Starting fish is echoed twice. Or if the sleep was added, startup takes 10 seconds.

Expected behavior

Starting fish should only be echoed once, or if the sleep was added startup should only take 5 seconds.

Screenshots

No response

Operating system

MacOS

Operating system and version

Sonoma 14.5

Shell Version

fish, version 3.7.1

Current Warp version

v0.2024.09.03.08.02.stable_03

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

dannyneira commented 1 week ago

Thanks for letting us know @mkenigs I was able to reproduce this issue and will let the team know. We'll post any updates on this thread.

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.

nikitavoloboev commented 1 week ago

It’s major issue for me. Upvoted. Hope you can fix it. ♥️