mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2026-01-29 01:13:01 +01:00
shell/direnv: enable zsh
This commit is contained in:
parent
1c9d2e7eba
commit
2919c8695b
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if command -v direnv >/dev/null; then
|
||||
eval "$(direnv hook bash)"
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
eval "$(direnv hook bash)"
|
||||
elif [ -n "$ZSH_VERSION" ]; then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue