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
|
# end
|
||||||
|
|
||||||
# Elixir projects
|
# Elixir projects
|
||||||
if test -e "mix.exs" and
|
if test -e "mix.exs"
|
||||||
if test -d "_build"
|
if test -d "_build"
|
||||||
cp -cR _build ../$dirname/
|
cp -cR _build ../$dirname/
|
||||||
end
|
end
|
||||||
|
@ -42,4 +42,5 @@ function worktree
|
||||||
end
|
end
|
||||||
|
|
||||||
cd ../$dirname
|
cd ../$dirname
|
||||||
|
direnv allow
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue