git clone --bare $DOTFILES_REPO_URL $HOME/.dotfiles
alias dtf='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dtf config --local status.showUntrackedFiles no
dtf reset --hard HEAD
git config --global user.name <name>
git config --global user.email <email>
dtf add /path/to/file
dtf commit -m "message"
dtf push
vimplugin='open-browser'
if [[ -n $vimplugin ]]; then
mkdir -p "$HOME/.config/nvim/pack/$vimplugin/start/"
cd "$HOME/.config/nvim/pack/$vimplugin/start/"
git clone --depth 1 [email protected]:tyru/open-browser.vim.git
fi
unset vimplugin