Skip to content

Commit e8c1e16

Browse files
fix: source asdf and initialize direnv (#71)
Co-authored-by: Javed Habib <[email protected]>
1 parent e6ebab6 commit e8c1e16

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

{{ cookiecutter.project_name_dashed }}/.devcontainer/override.zshrc

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,11 @@ plugins=(
1313
# Load oh-my-zsh with the configured settings
1414
source $ZSH/oh-my-zsh.sh
1515

16+
# Load asdf
17+
. "$HOME/.asdf/asdf.sh"
18+
19+
# Initialize direnv
20+
eval "$(direnv hook zsh)"
21+
1622
# Attempt to activate the Python virtual environment for every session
17-
source /workspaces/{{ cookiecutter.project_name_dashed }}/.venv/bin/activate 2>/dev/null || true
23+
source /workspaces/{{ cookiecutter.project_name_dashed }}/.venv/bin/activate 2>/dev/null || true

0 commit comments

Comments
 (0)