[PR #28] [MERGED] fix(install): check if the path export command already exists #9506

Closed
opened 2026-02-16 18:13:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/28
Author: @IdleSys
Created: 5/17/2025
Status: Merged
Merged: 6/13/2025
Merged by: @thdxr

Base: devHead: fix/multiplePathAssignment


📝 Commits (1)

  • 2353330 fix(install): check if the path export command already exists

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 install (+4 -1)

📄 Description

Install script will add the export statement every time you run it.
I added a simple condition to check if the full command already exists in the config file and skip writing it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/28 **Author:** [@IdleSys](https://github.com/IdleSys) **Created:** 5/17/2025 **Status:** ✅ Merged **Merged:** 6/13/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `fix/multiplePathAssignment` --- ### 📝 Commits (1) - [`2353330`](https://github.com/anomalyco/opencode/commit/23533306bcdc07a426381ef3f015a4df2efa8414) fix(install): check if the path export command already exists ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `install` (+4 -1) </details> ### 📄 Description Install script will add the export statement every time you run it. I added a simple condition to check if the full command already exists in the config file and skip writing it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:40 -05:00
yindo closed this issue 2026-02-16 18:13:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9506