fix error in worktree, direnv allow
This commit is contained in:
parent
25e362622e
commit
26c345069d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue