cashapp / cashapp/hermit-ij-plugin

.zshrc config overwrites Hermit managed PATH

Open
#41 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
11
Forks
13
Avg merge
5m
Merged PRs (30d)
1

Description

Hermit working correctly from Terminal:

```sh
node -v
# prints v17.6.0 (my global binary)

mkdir ~/Downloads/ij-test
cd ~/Downloads/ij-test
hermit init
hermit install node

node -v
# prints v17.7.1 (hermit binary)
```

However, it is failing within IJ:

1. Load IJ.
2. Open the folder `~/Downloads/ij-test`.
3. Trust it.
4. Enable Hermit plugin
5. Open IJ Terminal

```sh
node -v
# prints v17.6.0 (my global binary)

source ./bin/activate-hermit
node -v
# prints v17.7.1 (hermit binary)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the IJ Terminal using the reported ~/Downloads/ij-test project and compare node resolution before and after sourcing ./bin/activate-hermit. Trace how the Hermit plugin and the .zshrc configuration set the terminal environment; done means the IJ Terminal uses the Hermit-managed node without manual activation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, zsh
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.