Compare commits

..

2 Commits

Author SHA1 Message Date
earnest ma efca94c0b4
global lolcommits 2022-09-28 19:47:32 -04:00
earnest ma e3d1980608
lolcommits 2022-09-28 19:47:32 -04:00
1 changed files with 1 additions and 6 deletions

View File

@ -5,9 +5,4 @@ LANG="en_CA.UTF-8" && PATH="$PATH:/Users/earne/.rbenv/versions/3.1.2/bin:/opt/ho
### lolcommits hook (end) ### ### 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
if type "notify-send" > /dev/null; then
notify-send 'Git commit: ' "$COMMIT_INFO" -u low
elif type "osascript" > /dev/null; then
osascript -e "display notification "$COMMIT_INFO" with title \"Git commit\""
fi