fix: move install.sh to root
This commit is contained in:
parent
1385c0765a
commit
d237fcfcd3
@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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.
|
# Idempotent: safe to re-run. Creates dirs, symlinks, and config entries.
|
||||||
# Run once per machine after cloning dotfiles.
|
# Run once per machine after cloning dotfiles.
|
||||||
set -euo pipefail
|
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"; }
|
log() { printf '\033[0;32m✓\033[0m %s\n' "$1"; }
|
||||||
warn() { printf '\033[0;33m⚠\033[0m %s\n' "$1"; }
|
warn() { printf '\033[0;33m⚠\033[0m %s\n' "$1"; }
|
||||||
Loading…
x
Reference in New Issue
Block a user