Index: vimspell.vim =================================================================== --- vimspell.vim (revision 1) +++ vimspell.vim (working copy) @@ -529,8 +529,7 @@ elseif b:spell_executable == "aspell" " Thanks to Alexandre Beneteau for showing " me a way to get aspell directory for dictionaries. - let l:dirs = system('aspell config | '. s:grep . ' "dict-dir current"') - let l:dirs = substitute(l:dirs,'^.*dict-dir current: \(\/.*\)','\1',"") + let l:dirs = system('aspell config dict-dir') "don't know, why there is a char at the end of line ? Get rid of it. let l:dirs = substitute(l:dirs,".$","","")