Re: Setting speller from a shell script

Find Marbles <[email protected]> Sat, 5 Nov 2022 20:30:49 +0100
Newsgroups gmane.editors.nano.general
Message-ID <CAK+dMboR-2zuz23TQ7snWh9TL-ZKxD1j3aftuHSy4zqQV6CzTg@mail.gmail.com>
Hello DJ Chase,

yes sorry for the typo. I meant aspell of course. I guess you don't know a
solution, maybe somehow using the environment variable SPELL in the script?
Thank you anyway.

Am Sa., 5. Nov. 2022 um 20:07 Uhr schrieb DJ Chase <[email protected]>:

> On Sat Nov 5, 2022 at 9:13 AM EDT, Find Marbles wrote:
> > I know that a speller can be set in the nanorc as set speller "aspeller
> -x
> > -c"
> >
> > However is it possible to set it from a shell script? I did a set speller
> > "home/findmarbles/spellchecker.sh" in the nanorc.
> >
> > spellchecker.sh is a simple:
> >
> > #!/usr/bin/env bash
> > aspeller -x -c
> >
> > However when called from inside nano with Ctrl+T it throws out an error
> > asking for a file. Would be very thankful if you could help me out.
>
> Have you tried calling “aspell” instead of “aspeller”?
>
> Cheers,
> --
> DJ Chase
> They, Them, Theirs
> {gemini,https,ipns}://dj-chase.com
>