I'm using fish 2.3.1, in GNOME Terminal 3.20.2, on Fedora 24 (64-bit).

I'm writing a simple script that uses the read command to get info from the
user before continuing. Every time the script runs, when it gets to the
first "read" line, it prints the "$fish_greeting" variable, which I find a
little distracting.

I do not have this issue with another, much more complicated script I
wrote, perhaps because all the read commands are in excessively deeply
nested switch cases and conditionals...

For my simple script, the only workaround I've been able to figure out is
to set fish_greeting to an empty string -- however, even when I use set
--local, that seems to permanently remove the fish greeting for all future
sessions, not just when running the script. Some users of my script may not
like that. Is this a bug in fish? Is there another way to avoid print the
fish_greeting in a script?

Thanks,
~Andrew
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to