<div dir="ltr">Awesome. Thank you that worked great.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 3:31 PM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/06/2016 03:27 PM, J Travis Lindsey wrote:<br>
> Hello, I found in the docs that I can change the editor I use on a per vm<br>
> bases with the following:<br>
</span>> *EDITOR=$your-favorite-editor virsh edit $your-vm-name*<br>
<span class="">><br>
> But how do I change it permanently so when I run:<br>
</span>> *virsh edit $your-vm-name*<br>
<span class="">><br>
> It defaults to my favorite editor (vim)?<br>
<br>
</span>EDITOR is just a shell environment variable, so if you're using bash shell<br>
drop something like<br>
<br>
export EDITOR=your-favorite-editor<br>
<br>
in ~/.bashrc, and it will be set for all future shell sessions<br>
<span class="HOEnZb"><font color="#888888"><br>
- Cole<br>
<br>
</font></span></blockquote></div><br></div>