feat: add custom dictionary to aspell
This commit is contained in:
parent
37f05c1163
commit
3dcc3b3f34
1 changed files with 7 additions and 4 deletions
|
|
@ -14,10 +14,13 @@ in {
|
|||
aspell = aspell.overrideAttrs (super: {
|
||||
postInstall = super.postInstall + ''
|
||||
mkdir -p $out/etc
|
||||
cat > $out/etc/aspell.conf << EOF
|
||||
lang en_US
|
||||
add-extra-dicts en-computers.rws
|
||||
add-extra-dicts en_US-science.rws
|
||||
cat >$out/lib/aspell/en_US-custom.multi <<EOF
|
||||
add en_US-w_accents.multi
|
||||
add en-computers.rws
|
||||
add en_US-science.rws
|
||||
EOF
|
||||
cat >$out/etc/aspell.conf <<EOF
|
||||
master en_US-custom
|
||||
EOF
|
||||
'';
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue