plugin-direnv_init.fish 221 B

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