diff --git a/.config/fish/functions/worktree.fish b/.config/fish/functions/worktree.fish index f5b6b9c..c9ac3a7 100644 --- a/.config/fish/functions/worktree.fish +++ b/.config/fish/functions/worktree.fish @@ -24,7 +24,7 @@ function worktree # end # Elixir projects - if test -e "mix.exs" and + if test -e "mix.exs" if test -d "_build" cp -cR _build ../$dirname/ end @@ -42,4 +42,5 @@ function worktree end cd ../$dirname + direnv allow end