Re: how to modified virsh's editor forever?

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

 



Hello dw,

Can you plz try this method and check if it works:

Set the preferred editor  in /etc/environment file (to define it globally) and then restart the session.

You may follow these links for more info on the topic.
Link 1: https://www.redhat.com/archives/libvirt-users/2014-September/msg00039.html
Link 2: https://askubuntu.com/questions/432524/how-do-i-find-and-set-my-editor-environment-variable

Thanks,
Nitesh.



On Wed, Dec 28, 2016 at 2:30 PM, dw <dwlinuxkernel@xxxxxxx> wrote:
Hi:

    when I modify VM's xml file,the editor is VI,how to set to other editor forever?

    Now I can change the editor to VIM from VI with setting environment EDITOR=$my-favorite-editor,
    but after rebooting,it is VI again.

thanks


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

_______________________________________________
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