Geeklog: What I Learnt Today / Adam

Adding words to aspell dictionary command line

> I have just added spell checking on a git commits to a repository using Aspell. So it stops my spelling mistakes in commit messages

git commit -m "Yarmouth"
   Possible spelling errors found in commit message:

obviously Yarmouth exists and is a word.
To prevent me googling again how to add a word to the Aspell dictionary I will add this note to the log.

echo "*Yarmouth\n#" | aspell -a
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8)

This is on my Mac using OS X.

/ Adam