summaryrefslogtreecommitdiffhomepage
path: root/nixDevEnv.sh
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-04-24 12:11:50 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-04-24 12:11:50 -0400
commit7591439b407b39ecfc37b667bc3d54192aa4b9ef (patch)
treee95e3977686f54735fcd8707da815ead918e703d /nixDevEnv.sh
ldc-1.37.0 ... dub 1.36.0
Diffstat (limited to 'nixDevEnv.sh')
-rw-r--r--nixDevEnv.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixDevEnv.sh b/nixDevEnv.sh
new file mode 100644
index 0000000..640d07e
--- /dev/null
+++ b/nixDevEnv.sh
@@ -0,0 +1,3 @@
+if [ -f .envrc ]; then
+ source_env_if_exists .envrc || source .envrc
+fi