My dotfiles. Period.

slurp 347B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. #
  3. # Slurp - add everything, slurp into a WIP commit and push
  4. #
  5. test -f .git-slurp-ok || {
  6. echo "you don't want this." >&2
  7. exit 2
  8. }
  9. mkmsg() {
  10. #
  11. # Create the slurp message
  12. #
  13. local host=$(hostname)
  14. local date=$(date -Isec)
  15. echo "WIP slurp, $date at $host"
  16. }
  17. git add .
  18. git commit -m "$(mkmsg)"
  19. git push