diff --git a/dot_zsh_functions b/dot_zsh_functions index 5fa302d..47a6571 100644 --- a/dot_zsh_functions +++ b/dot_zsh_functions @@ -269,6 +269,13 @@ function invalid_file_refs() { done < <(filerefs "$1") } + +# Text search +# run aspell in non interactive mode, to list all mispelled words found +function checkenlist() { + aspell -d en list < "$1" | sort --unique --ignore-case +} + # File stats helpers # Find files bigger than X size and sort them by size function biggerthan() {