Fix fish existing with PID active for fasd
This commit is contained in:
8
config/fish/conf.d/plugin-direnv_init.fish
Normal file
8
config/fish/conf.d/plugin-direnv_init.fish
Normal file
@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user