On 30/08/2022 20:38, Felipe Contreras wrote:
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.
PEBCAK: embarrassing mistake! Of course I'd set EDITOR=/bin/gvim but in .zshrc but the sh script obviously wasn't using .zshrc echo 'Red Face' zzapper