From 26c345069d4cf8e23949779b9ae2f54f618b4547 Mon Sep 17 00:00:00 2001 From: sloane <1699281+sloanelybutsurely@users.noreply.github.com> Date: Fri, 15 Mar 2024 08:07:05 -0400 Subject: [PATCH] fix error in worktree, direnv allow --- .config/fish/functions/worktree.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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