
I never considered the macOS built-in spellchecker to be particularly great, but this experience has taught me otherwise. aspell cannot handle multi-lingual notes, and many of my notes contain both English and German, often in almost equal parts.This seemed to happen for tons and tons of words. For instance, it would incorrectly flag German words such as “Detailwissen” and then only suggest incorrect variations like “Detail-wissen” and “Detail wissen”. aspell does not seem to work well with languages that use a lot of compound words.Soon, however, I ran into two major deal-breakers: Hopefully, this will help someone, or spur someone to do something better.Īt first, I was very excited about aspell and especially about its interactive mode. This setup can be improved by running out of bashrc as a function, set the path to the executable, etc. This is a quick and dirty way to use spellcheck with Obsidian via the command line. If it returns silently, that means there are no spelling errors. If aspell finds a spelling error it will come up with a menu. Obsidian_file=$(find $vault -name "$ \ )Īspell -dont-backup check "$obsidian_file" <- If you want backup files remove "-don't-backup" Vault=~/Dropbox/obsidian-vault/ <- change this path to where your obsidian vault is It probably will Windows as well, but I’m unsure about the setup.Ĭreate the script using your favorite text editor: I know this will work with Linux and Macs. Aspell is a command line spellcheck program. I can’t live without spellcheck, so I wrote a quick little script to make it easier to use aspell.
