You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there a way to use #!/usr/bin/direnv exec ~/some/path bash or something similar as a shebang, so the environment is set up as is should? I saw there was a mention of it in the original pull request, but it looks like there was no further discussion of it. Do you have any example of how that could work?
My use case is that it would allow me to nicely write source blocks in org-babel, which at the moment are blissfully ignorant of what direnv is or does or that it exists. Adding a shebang would allow me to modify the source blocks without having to rewrite the org-babel shell integration completely.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is there a way to use
#!/usr/bin/direnv exec ~/some/path bashor something similar as a shebang, so the environment is set up as is should? I saw there was a mention of it in the original pull request, but it looks like there was no further discussion of it. Do you have any example of how that could work?My use case is that it would allow me to nicely write source blocks in org-babel, which at the moment are blissfully ignorant of what direnv is or does or that it exists. Adding a shebang would allow me to modify the source blocks without having to rewrite the org-babel shell integration completely.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions