Committed

This commit is contained in:
2025-12-23 15:46:58 +00:00
parent c675e1f1a1
commit fe52d8a081

View File

@@ -1,11 +1,12 @@
#!/bin/bash
#Before running this script, make sure that you added an alias to your shell config file (~/.bashrc, ~/.zshrc, etc.)
#alias trigger_git='touch /tmp/please_update'
#Then run source ~/.zshrc to load the new alias
#Variable to store the trigger file path
TRIGGER_FILE="/tmp/please_update"
# An alias so i no longer have to type the full command
alias trigger_git="touch $TRIGGER_FILE"
#The magic itself
echo "[INFO] Watching $TRIGGER_FILE..."
echo "[INFO] To trigger a git commit and push, run: trigger_git"