- Unset GIT_PS1_SHOWUNTRACKEDFILES, otherwise - if PS1 contains __git_ps1 and
the variable is set in ~/.bashrc - we wait for hours at
`git ls-files --others --exclude-standard' in $HOME.
- Set PSMOVEIN, can be used in PS1 via ~/.basrc etc.
export GIT_DIR="$LOCAL_REPOS/${1}.git"
export GIT_WORK_TREE="$GIT_DIR/$(git config --get core.worktree)"
- $SHELL -i || :
+ GIT_PS1_SHOWUNTRACKEDFILES= PSMOVEIN="movein:${1}" $SHELL -i || :
}
add() {