Propertly authorize .enter/.exit in worktree add

This commit is contained in:
2026-03-05 11:19:55 +00:00
parent 2b81c4bcd9
commit a59bcafcf3

View File

@@ -41,8 +41,8 @@ Manage git worktrees by branch name."
if [ -f $root/.enter ] && [ -f $root/.exit ]; then
ln -s $root/.enter $wt_dest/.enter
ln -s $root/.exit $wt_dest/.exit
_autoenv_authorized $PWD/.enter yes
_autoenv_authorized $PWD/.exit yes
_autoenv_authorized $wt_dest/.enter yes
_autoenv_authorized $wt_dest/.exit yes
fi
;;
rm|remove)