Skip to content

Instantly share code, notes, and snippets.

View b00f's full-sized avatar

b00f

View GitHub Profile
@b00f
b00f / commit-msg
Last active June 17, 2020 07:08 — forked from bean5/commit-msg
git commit-msg hook, Hunspell spellchecking with custom dictionary
#!/usr/bin/env ruby
# 1. Install hunspell
# $ pacman -S hunspell
# 2. Download a dictionary and install it in a path listed by `hunspell -D`
# $ open http://wiki.services.openoffice.org/wiki/Dictionaries
# 3. Move this file into your repository
# $ mv commit-msg /path/to/repo/.git/hooks