zsh-users
 help / color / mirror / code / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: zzapper <zsh@rayninfo.co.uk>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: How does shell decide between gui vim & terminal vim?
Date: Tue, 30 Aug 2022 14:38:31 -0500	[thread overview]
Message-ID: <CAMP44s3QWnkj0t_jubWcywHOmQ-fvNxAAH3HZ2uyWd6y7NQD_g@mail.gmail.com> (raw)
In-Reply-To: <f8388be6-4b46-6d8b-2b52-4ebd607d3e4d@rayninfo.co.uk>

On Tue, Aug 30, 2022 at 11:39 AM zzapper <zsh@rayninfo.co.uk> 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


  parent reply	other threads:[~2022-08-30 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 13:19 zzapper
2022-08-30 19:37 ` Lawrence Velázquez
2022-08-30 19:38 ` Felipe Contreras [this message]
2022-08-30 20:58   ` david rayner
2022-08-30 21:37     ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMP44s3QWnkj0t_jubWcywHOmQ-fvNxAAH3HZ2uyWd6y7NQD_g@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@rayninfo.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).