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
)?

Cheers

Carsten

-- 
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