if [[ $_zeesh_fresh_install -eq 1 ]]; then ticker_finish if [[ -v ZEESH_DOTFILES_DIR ]]; then if read -q "ZEESH_DOTFILES?Configure dotfile management? [yn] "; then read "ZEESH_DOTFILES_INPUT?Location of dotfile repo? [~/.local/share/zeesh/dotfiles.git] " export ZEESH_DOTFILES_DIR="${ZEESH_DOTFILES_INPUT:-${HOME}/.local/share/zeesh/dotfiles.git}" echo "ZEESH_DOTFILES_DIR=${ZEESH_DOTFILES_DIR}" >> $HOME/.zshrc.preload fi fi fi if [[ -v ZEESH_DOTFILES_DIR ]]; then if [[ ! -d $ZEESH_DOTFILES_DIR ]]; then ticker_message "initializing dotfiles repository" git init --bare --quiet $ZEESH_DOTFILES_DIR git --git-dir=$ZEESH_DOTFILES_DIR config status.showUntrackedFiles no fi alias dotfiles='git --git-dir="$ZEESH_DOTFILES_DIR" --work-tree="$HOME"' fi