Add direnv to vim plugins
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -40,3 +40,6 @@
|
|||||||
[submodule "vim/.vim/bundle/vinegar"]
|
[submodule "vim/.vim/bundle/vinegar"]
|
||||||
path = vim/.vim/bundle/vinegar
|
path = vim/.vim/bundle/vinegar
|
||||||
url = https://github.com/tpope/vim-vinegar
|
url = https://github.com/tpope/vim-vinegar
|
||||||
|
[submodule "vim/.vim/bundle/direnv"]
|
||||||
|
path = vim/.vim/bundle/direnv
|
||||||
|
url = https://github.com/direnv/direnv.vim.git
|
||||||
|
|||||||
@@ -55,3 +55,7 @@ fi
|
|||||||
if [ -f "$HOME/.private_functions" ] && [ -r "$HOME/.private_functions" ]; then
|
if [ -f "$HOME/.private_functions" ] && [ -r "$HOME/.private_functions" ]; then
|
||||||
. "$HOME/.private_functions"
|
. "$HOME/.private_functions"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if $(which direnv &> /dev/null); then
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
|
fi
|
||||||
|
|||||||
1
vim/.vim/bundle/direnv
Submodule
1
vim/.vim/bundle/direnv
Submodule
Submodule vim/.vim/bundle/direnv added at 8b5d37e9b3
Reference in New Issue
Block a user