Re: virsh's editor configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/16/2014 08:49 AM, lejeczek wrote:

>> That's up to you and your $EDITOR settings.  virsh is just spawning
>> whatever editor you told it to (and only falling back to vi if you
>> didn't specify anything), and how you customize your editor is outside
>> the realm of what virsh is responsible for.
>>
> ok, my bad, was looking at vim that I had system-wide tweaked and was
> wondering why virsh does not honour them, but I should see vi instead.
> thanks

Then run:

EDITOR=vim virsh edit $dom

to use vim as your editor, with your vim customizations.  Or even add an
export of EDITOR to your shell startup files.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux