We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d978d9b commit 6c0c75aCopy full SHA for 6c0c75a
.envrc
@@ -1,2 +1,9 @@
1
# Devbox Support
2
-has devbox && eval "$(devbox generate direnv --print-envrc)" && exit 0
+# This script checks if devbox is available, generates direnv configuration, and exits if successful
3
+if has devbox; then
4
+ eval "$(devbox generate direnv --print-envrc)"
5
+ exit 0
6
+else
7
+ echo "Devbox is not installed. Please install it to proceed."
8
+ exit 1
9
+fi
0 commit comments