Okay, thanks, Kurtis.
I've reported the bug here --
https://github.com/fish-shell/fish-shell/issues/3261
On Sat, Jul 23, 2016 at 10:00 PM, Kurtis Rader <kra...@skepticism.us> wrote:
> On Sat, Jul 23, 2016 at 9:32 PM, Andrew Toskin <summerfallsa...@gmail.com>
> wrote:
>
>> > echo "$FISH_VERSION"
>> 2.3.1
>>
>> An example script, which always prints fish_greeting when I execute it:
>>
>> #!/usr/bin/fish
>> echo "What's your name?"
>> read name
>> echo "Hello, $name!"
>>
>
> Yes, that is definitely a bug. I'm surprised there isn't an open issue
> about this. The problem is that the prompt issued by the `read` command is
> considered the equivalent of an interactive command prompt and thus
> triggers running the fish_greeting code. Please open an issue at
> https://github.com/fish-shell/fish-shell/issues/new
>
> P.S., I suspect no one has reported this because most fish users
> (certainly the core developers) inhibit that greeting via
>
> function fish_greeting; end
>
> or
>
> set -g fish_greeting ''
>
> --
> Kurtis Rader
> Caretaker of the exceptional canines Junior and Hank
>
------------------------------------------------------------------------------
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