#!/usr/bin/env bash set -euo pipefail # Bootstrap installer for 1Shad0w/DarkShadowShell (dotfiles) # Served via https://get.aurorian.es/dotfiles REPO_URL="https://github.com/1Shad0w/DarkShadowShell.git" TARGET_DIR="${HOME}/shadows-shell" if ! command -v git >/dev/null 2>&1; then echo "git is required. Install git and run again." >&2 exit 1 fi if [ -d "${TARGET_DIR}/.git" ]; then echo "Updating existing repository in ${TARGET_DIR}..." git -C "${TARGET_DIR}" pull --ff-only else echo "Cloning ${REPO_URL} into ${TARGET_DIR}..." git clone "${REPO_URL}" "${TARGET_DIR}" fi cd "${TARGET_DIR}" exec ./install.sh "$@"