Compare commits
2 Commits
efca94c0b4
...
52a4df4913
Author | SHA1 | Date |
---|---|---|
earnest ma | 52a4df4913 | |
earnest ma | 14364c5a7d |
git/.config/git/hooks
|
@ -5,4 +5,9 @@ LANG="en_CA.UTF-8" && PATH="$PATH:/Users/earne/.rbenv/versions/3.1.2/bin:/opt/ho
|
|||
### lolcommits hook (end) ###
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue