Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] $EDITOR undefined when spell is cast

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andraž 'ruskie' Levstik <ruskie AT codemages.net>
  • To: Sukneet Basuta <sukneet AT gmail.com>
  • Cc: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] $EDITOR undefined when spell is cast
  • Date: Tue, 5 Jun 2012 08:22:21 +0200 (CEST)

:2012-06-04T21:49:Sukneet Basuta:

> Is $EDITOR expected to be defined when a spell is cast? The dwm spell
> and a few others seem to assume to.
> If so, nothing seems to create a .bashrc file for root, leaving
> $EDITOR undefined unless you manually create it. Perhaps, the bash
> spell can copy /etc/skel/.bashrc to /root/.bashrc to resolve this
> issue.

It gets set by /etc/profile.d/editor.sh

--
Andraž 'ruskie' Levstik
Source Mage GNU/Linux Games/Xorg grimoire guru
Re-Alpine Coordinator http://sourceforge.net/projects/re-alpine/
Geek/Hacker/Tinker

Be sure brain is in gear before engaging mouth.


Archive powered by MHonArc 2.6.24.

Top of Page