[Remind-Fans] wyrd error
Jorey Bump
list at joreybump.com
Sat Aug 18 21:15:59 EDT 2007
Paul Brookbanks wrote:
> When I use the "t" option in wyrd I get this error message:
>
> "Error when launching editor; configure a different editor in
> ~/.wyrdrc."
>
> My wyrdrc file is not in my home dir. but rather it is in /etc. Here is
> what is wrtten there:
>
> # Wyrd run-configuration file
>
> # command for the Remind executable
> set remind_command="remind"
> # the default reminder file to display
> set reminders_file="~/.reminders"
> # command for editing an old appointment, given a line number %line% and
> filename %file%
> set edit_old_command="$EDITOR +%line% %file%"
> # command for editing a new appointment, given a filename %file%
> set edit_new_command="$EDITOR +999999 %file%"
> # command for free editing of the reminders file, given a filename %file
> %
> set edit_any_command="$EDITOR %file%"
>
> This looks fine so the only thing I can think of is that wyrd is looking
> for this file in the wrong location or the file is in the wrong
> location. I made sure the file is executable. I tried to move the file
> but that did not work.
Type this command:
echo $EDITOR
If there is no output, you do not have a default editor set for your
environment. I solve this by adding this line to my ~/.bashrc:
export EDITOR=vim
You could also set this globally in /etc/profile for Bourne-compatible
shells. Refer to your shell documentation for more information on how to
set environment variables at login.
Another option is to explicitly name your editor in ~/.wyrdrc.
More information about the Remind-fans
mailing list