Propertly authorize .enter/.exit in worktree add
This commit is contained in:
@@ -41,8 +41,8 @@ Manage git worktrees by branch name."
|
|||||||
if [ -f $root/.enter ] && [ -f $root/.exit ]; then
|
if [ -f $root/.enter ] && [ -f $root/.exit ]; then
|
||||||
ln -s $root/.enter $wt_dest/.enter
|
ln -s $root/.enter $wt_dest/.enter
|
||||||
ln -s $root/.exit $wt_dest/.exit
|
ln -s $root/.exit $wt_dest/.exit
|
||||||
_autoenv_authorized $PWD/.enter yes
|
_autoenv_authorized $wt_dest/.enter yes
|
||||||
_autoenv_authorized $PWD/.exit yes
|
_autoenv_authorized $wt_dest/.exit yes
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
rm|remove)
|
rm|remove)
|
||||||
|
|||||||
Reference in New Issue
Block a user