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

Q: haskell-process-load-file with additional environment variables #1750

Open
ocramz opened this issue Jun 15, 2021 · 1 comment
Open

Q: haskell-process-load-file with additional environment variables #1750

ocramz opened this issue Jun 15, 2021 · 1 comment

Comments

@ocramz
Copy link

ocramz commented Jun 15, 2021

I would like to customize the behavior of ..load-file (C-c C-l) such that the resulting shell loads environment from a given shell script (e.g. the system .bashrc). Unfortunately my ELisp is nonexistant so I don't understand how the Emacs internals work.

Question on SO :

https://stackoverflow.com/questions/67940815/emacs-haskell-interactive-mode-in-custom-shell

Thank you !

@purcell
Copy link
Member

purcell commented Jun 15, 2021

It's possible you should just use something like my exec-path-from-shell emacs package, or perhaps set up direnv with my envrc emacs package.

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

No branches or pull requests

2 participants