fix: move install.sh to root

This commit is contained in:
Brydon DeWitt 2026-06-07 19:17:56 -04:00
parent 1385c0765a
commit d237fcfcd3

View File

@ -1,10 +1,10 @@
#!/usr/bin/env bash
# install.sh — Wire ~/dotfiles/.agents/ into global tool configs.
# install.sh — Wire ~/dotfiles/.agents/ into global tool configs. (Script lives at repo root.)
# Idempotent: safe to re-run. Creates dirs, symlinks, and config entries.
# Run once per machine after cloning dotfiles.
set -euo pipefail
DOTFILES_AGENTS="$(cd "$(dirname "$0")" && pwd)"
DOTFILES_AGENTS="$(cd "$(dirname "$0")" && pwd)/.agents"
log() { printf '\033[0;32m✓\033[0m %s\n' "$1"; }
warn() { printf '\033[0;33m⚠\033[0m %s\n' "$1"; }