Skip to content

Web UI - Terminal no longer sources .bashrc which doesn't load colors/aliases/history settings/etc #11634

@jeremyakers

Description

@jeremyakers

Description

I noticed that one of the updates killed the color codes in the Web UI terminal. I don't remember exactly which version this changed, but I think it was somewhere around 1.1.40 (It was initially working as expected on 1.1.3x versions. I think the last version I remember this working correctly was 1.1.36)

Image

Doing some digging, I also noticed that the aliases I have configured in my ~/.bashrc file are also not being loaded, so I suspect something changed in a recent update that caused the Web Terminal to not source ~/.bashrc

When I manually source ~/.bashrc - the colors are back again.

Plugins

None

OpenCode version

1.1.48

Steps to reproduce

  1. Open WebUI
  2. Open Terminal pane
  3. Notice no colors. Check aliases, history settings, notice nothing from ~/.bashrc was loaded.

Screenshot and/or share link

See above

Operating System

Ubuntu 22.04

Terminal

Web UI

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions