Skip to content

Env variables not loaded when starting warp terminal #4722

@madisonmay

Description

@madisonmay

Discord username (optional)

No response

Describe the bug

I've made sure to point to the correct shell (bash). After running bash manually and creating a subshell, all expected env variables are available.

To reproduce

  1. Open warp terminal
  2. Run env | grep {SOME_ENV_VAR}
  3. Observe no environment variables from ~/.bashrc are present
  4. Start a subshell by running bash
  5. Confirm all expected environment variables are present

Sourcing ~/.bashrc would also populate env vars

Expected behavior

Environment variables set in ~/.bashrc should be available when starting warp terminal.

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22.04

Shell Version

GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

Current Warp version

v0.2024.04.02.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

X11

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions