]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add dotbot installer
authorEdward Delaporte <edward@delaporte.us>
Fri, 24 Jul 2026 22:12:43 +0000 (17:12 -0500)
committerEdward Delaporte <edward@delaporte.us>
Fri, 24 Jul 2026 22:12:43 +0000 (17:12 -0500)
dotbot.md [deleted file]
install/dotbot.sh [new file with mode: 0755]
install/wtfutil.sh

diff --git a/dotbot.md b/dotbot.md
deleted file mode 100644 (file)
index 5943a67..0000000
--- a/dotbot.md
+++ /dev/null
@@ -1,3 +0,0 @@
-dot env dotbot
-source ~/envs/dotbot/activate
-dotbot -b ~/dotfiles/files -c ~/dotfiles/dotbot.yml
diff --git a/install/dotbot.sh b/install/dotbot.sh
new file mode 100755 (executable)
index 0000000..205ea5f
--- /dev/null
@@ -0,0 +1,7 @@
+if [ ! -d ~/envs/dotbot ]; then
+  python3 -m venv ~/envs/dotbot
+  ~/envs/dotbot/bin/python -m pip install -r ~/dotfiles/reqs/dotbot.txt
+fi
+
+source ~/envs/dotbot/activate
+dotbot -b ~/dotfiles/files -c ~/dotfiles/dotbot.yml
index a13e42af5eb2a9870cd5aa2e5bc001626aeb4151..181aa401d829e026863fdd06df85ab9e2c57dd81 100755 (executable)
@@ -1,2 +1,3 @@
 mkdir -p $HOME/.go
 go install github.com/wtfutil/wtf@latest
+echo "Run dotbot.sh to link wtf config"