-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS: warning: An error occurred while redirecting file '/proc/1/cgroup' #295
Comments
Thakns, that's a MacOS issue as there is no I will fix asap, in the meanwhile could you edit - set --local prompt_container (_pure_prompt_container)
+ set --local prompt_container "" |
|
Still failing for me. Does fisher have a cache or anything? |
Can you gives me the output of: OS
Container detection
Pure version
|
|
Could you reload the
Or your whole config:
|
I've also tried removing and re-adding. Each time with a new shell instance. |
I haven't looked too close at the logic, but
and |
Looks like, |
What is supposed to set |
I've tried to early return from both cgroup and pid functions (
Applying this patch fixed the issue for me. |
Please revert to previous version
|
@edouard-lopez Didn't work for me
|
This is currently the latest version. Did you mean |
I'll just stick to my patches and wait for the fix. I could send a PR with Darwin returns and the removal of echo since it's working for me if you want @edouard-lopez |
You can try the code form #298. Regarding MacOS, as I don't have a Mac to test directly I'm going a bit blind despite the tests (CI job for MacOS has numerous errors). To try it locally, you need to git clone git@github.com:pure-fish/pure.git
# manually
git fetch origin fix/macos-container-detection-error
git switch fix/macos-container-detection-error
# or with gh CLI
gh pr checkout 298 Then install it:
|
Yes, installing PR 298 is working for me! |
PR 298 is working for me too. |
#298 works for me as well! |
works for me! |
|
This issue occurs on Termux as well. Because it doesn't have access to /proc. |
@mizzunet There is a flag to disable container detection (see https://github.com/pure-fish/pure/releases/tag/v4.3.0)
To get support for Android OS, please open a new issue and provide the result for |
This Termux doesn't have access to |
Env
Pure
Fish
OS/distribution
My terminal looks like this 😞
The text was updated successfully, but these errors were encountered: