Compare commits
2 Commits
52a4df4913
...
efca94c0b4
Author | SHA1 | Date |
---|---|---|
earnest ma | efca94c0b4 | |
earnest ma | e3d1980608 |
|
@ -5,9 +5,4 @@ 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)
|
||||
|
||||
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
|
||||
notify-send 'Git commit: ' "$COMMIT_INFO" -u low
|
||||
|
|
Loading…
Reference in New Issue