virsh editor
jurgen.depicker at let.be
jurgen.depicker at let.be
Tue Mar 1 14:18:59 UTC 2011
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 <carsten.aulbert at aei.mpg.de>
> To: ubuntu-server at lists.ubuntu.com
> Cc: jurgen.depicker at let.be
> Date: 01/03/2011 14:46
> Subject: Re: virsh editor
>
> Hu Jurgen
>
> On Tuesday 01 March 2011 14:36:59 jurgen.depicker at let.be 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20110301/433c09e7/attachment.html>
More information about the ubuntu-server
mailing list