]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - zsh/functions/dotenv.zsh
Remove prezto
[rbdr/dotfiles] / zsh / functions / dotenv.zsh
diff --git a/zsh/functions/dotenv.zsh b/zsh/functions/dotenv.zsh
new file mode 100644 (file)
index 0000000..7594e6c
--- /dev/null
@@ -0,0 +1,6 @@
+# Dotenv Loading utility function
+dotenv () {
+  set -a
+  [ -f ./.env ] && . ./.env
+  set +a
+}