Hi Carsten.

Thanks for your swift, to the point reply!  According to 
http://ss64.com/bash/export.html , "An average user will saturate their 
cognitive capacity if they have more than seven things to remember" .  I 
may not be average, but still forgot to remember the export indeed :-).

> From: Carsten Aulbert <[email protected]>
> To: [email protected]
> Cc: [email protected]
> Date: 01/03/2011 14:46
> Subject: Re: virsh editor
> 
> Hu Jurgen
> 
> On Tuesday 01 March 2011 14:36:59 [email protected] wrote:
> > I have a small question: whenever I fire up virsh and want to edit a
> > domain, it launches vi and I would like it to be nano.  Although i
> > configured .bashrc to contain EDITOR=/usr/bin/nano  and
> > VISUAL=/usr/bin/nano , virsh seems not to care.  So I need to launch
> > 'EDITOR=/usr/bin/nano virsh' to get my wish fulfilled.  What am I 
doing
> > wrong?
> 
> Are you exporting the values in .bashrc?
> 
> i.e. 
> 
> export EDITOR=/usr/bin/nano
> 
> (or
> 
> EDITOR=/usr/bin/nano
> export EDITOR
> )?

I did not, and after doing so, all is fine!!

> 
> Cheers
> 
> Carsten

Thanks, Jürgen
-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to