Skip to content
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

Update shellIntegration-bash.sh #147

Closed
wants to merge 1 commit into from
Closed

Conversation

InSelfControll
Copy link

@InSelfControll InSelfControll commented Dec 20, 2024

fixed the command

Check if the system is NixOS if yes unset this var for fixing the error "Segmentation fault (core dumped)"

[ -f /etc/NIXOS ] ; unset LD_LIBRARY_PATH


Important

Add NixOS check in shellIntegration-bash.sh to unset LD_LIBRARY_PATH and prevent segmentation fault.

  • Behavior:
    • In shellIntegration-bash.sh, added a check for NixOS by testing for /etc/NIXOS file.
    • If NixOS is detected, unset LD_LIBRARY_PATH to prevent segmentation fault.

This description was created by Ellipsis for 4c10b33. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 4c10b33 in 53 seconds

More details
  • Looked at 14 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_zLvdJx68LcmxSbWd


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant