lolcommits

earnest ma 2022-09-28 19:58:15 -04:00
parent e3d1980608
commit c917256baf
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
### lolcommits hook (begin) ###
LANG="en_CA.UTF-8" && PATH="$PATH:/Users/earne/.rbenv/versions/3.1.2/bin:/opt/homebrew/bin" && if [ ! -d "$GIT_DIR/rebase-merge" ] && [ "$LOLCOMMITS_CAPTURE_DISABLED" != "true" ]; then lolcommits --capture --debug ; fi
### lolcommits hook (end) ###
COMMIT_INFO=$(git log -1 HEAD --format=reference) COMMIT_INFO=$(git log -1 HEAD --format=reference)
notify-send 'Git commit: ' "$COMMIT_INFO" -u low notify-send 'Git commit: ' "$COMMIT_INFO" -u low