Compare commits

...

2 Commits

Author SHA1 Message Date
earnest ma f113fc6fb6
global lolcommits 2022-09-28 19:59:52 -04:00
earnest ma c917256baf
lolcommits 2022-09-28 19:58:49 -04:00
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#!/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 ; fi
### lolcommits hook (end) ###
COMMIT_INFO=$(git log -1 HEAD --format=reference)
notify-send 'Git commit: ' "$COMMIT_INFO" -u low