💻 Software
How to source a bash script in emacs' eshell
Fresh6 days ago
Mar 15, 20262875 viewsConfidence Score0%
0%
Problem
I'm trying to use eshell inside emacs, so I don't have to switch between emacs and a terminal. When using bash, I have few bash scripts I usually source to export some env variables (in order to switch between different tool-versions and build-environments). Is it possible to somehow execute my scr…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to source a bash script in emacs' eshell
Low Risk
I think, I found a way. I've created a script with this content: When sourced from within eshell, it will start a bash, source the there (thus setting the variable), and then call to obtain , and convert it with to something like which is than sourc…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix