Fix spell.kak wrong use of sed flags

This commit is contained in:
Maxime Coste 2015-12-24 22:04:17 +00:00
parent a051250204
commit dca9e2b73d

View File

@ -9,7 +9,7 @@ def spell %{
echo "set buffer spell_tmp_file ${file}" echo "set buffer spell_tmp_file ${file}"
} }
%sh{ %sh{
sed -ie 's/^/^/' $kak_opt_spell_tmp_file sed -i 's/^/^/' $kak_opt_spell_tmp_file
aspell -a < $kak_opt_spell_tmp_file 2>&1 | { aspell -a < $kak_opt_spell_tmp_file 2>&1 | {
line_num=1 line_num=1
regions=$kak_timestamp regions=$kak_timestamp