Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How does shell decide between gui vim & terminal vim?



On Tue, Aug 30, 2022 at 11:39 AM zzapper <zsh@xxxxxxxxxxxxxx> wrote:

> I am using a shell (/bin/sh) script which stubbornly calls the terminal
> version of gvim instead of the desired GUI version (gtk).
>
> I suspect the script doesn't know there is a GUI but what decides that?

How is it being called? Some programs use the $VISUAL or $EDITOR
environment variables to decide which editor to open.

-- 
Felipe Contreras




Messages sorted by: Reverse Date, Date, Thread, Author