Files
dotfiles/config/fish/conf.d/plugin-direnv_init.fish
2018-12-24 10:53:15 -05:00

9 lines
221 B
Fish

if type -q direnv
function __direnv_export_eval --on-variable PWD
status --is-command-substitution; and return
eval (direnv export fish)
end
else
echo "Install direnv first! Check http://direnv.net" ^&1
end