fish: direnv hook

This commit is contained in:
Hedy Li 2021-09-20 11:40:40 +08:00
parent f649b7ae3f
commit 7ea972ab73
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 5 additions and 0 deletions

View File

@ -10,3 +10,8 @@ if test -f ~/.config/fish/config_local.fish
source ~/.config/fish/config_local.fish
end
# TODO: migrate .addpath and .exportenvs to direnv :D
if command -sq direnv > /dev/null
direnv hook fish | source
end