File tree Expand file tree Collapse file tree 6 files changed +17
-7
lines changed
cloud_development/temporal Expand file tree Collapse file tree 6 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use_devbox() {
5
5
watch_file devbox.json
6
6
if [ -f .devbox/gen/flake/flake.nix ]; then
7
7
DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
- eval $( devbox shellenv --init-hook)
8
+ eval " $( devbox shellenv --init-hook) "
9
9
export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
10
fi
11
11
}
Original file line number Diff line number Diff line change
1
+ # Automatically sets up your devbox environment whenever you cd into this
2
+ # directory via our direnv integration:
3
+
1
4
use_devbox () {
2
5
watch_file devbox.json
3
- eval $( devbox shell --print-env)
6
+ if [ -f .devbox/gen/flake/flake.nix ]; then
7
+ DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
+ eval " $( devbox shellenv --init-hook) "
9
+ export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
+ fi
4
11
}
5
- use devbox
12
+ use devbox
13
+
14
+ # check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
15
+ # for more details
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use_devbox() {
5
5
watch_file devbox.json
6
6
if [ -f .devbox/gen/flake/flake.nix ]; then
7
7
DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
- eval $( devbox shell --print-env )
8
+ eval " $( devbox shellenv --init-hook ) "
9
9
export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
10
fi
11
11
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use_devbox() {
5
5
watch_file devbox.json
6
6
if [ -f .devbox/gen/flake/flake.nix ]; then
7
7
DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
- eval $( devbox shell --print-env )
8
+ eval " $( devbox shellenv --init-hook ) "
9
9
export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
10
fi
11
11
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use_devbox() {
5
5
watch_file devbox.json
6
6
if [ -f .devbox/gen/flake/flake.nix ]; then
7
7
DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
- eval $( devbox shell --print-env )
8
+ eval " $( devbox shellenv --init-hook ) "
9
9
export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
10
fi
11
11
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use_devbox() {
5
5
watch_file devbox.json
6
6
if [ -f .devbox/gen/flake/flake.nix ]; then
7
7
DEVBOX_SHELL_ENABLED_BACKUP=$DEVBOX_SHELL_ENABLED
8
- eval $( devbox shell --print-env )
8
+ eval " $( devbox shellenv --init-hook ) "
9
9
export DEVBOX_SHELL_ENABLED=$DEVBOX_SHELL_ENABLED_BACKUP
10
10
fi
11
11
}
You can’t perform that action at this time.
0 commit comments