Add direnv support
This commit is contained in:
1
dependencies/homebrew.txt
vendored
1
dependencies/homebrew.txt
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
direnv
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
gh
|
gh
|
||||||
|
|||||||
5
nvim/.config/nvim/lua/yock/plugins/direnv.lua
Normal file
5
nvim/.config/nvim/lua/yock/plugins/direnv.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
'direnv/direnv.vim',
|
||||||
|
config = function()
|
||||||
|
end,
|
||||||
|
}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
source ~/.env
|
source ~/.env
|
||||||
|
|
||||||
|
# direnv
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
|
||||||
# rbenv
|
# rbenv
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user