Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Andrew Toskin
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 wrote: > On Sat, Jul 23, 2016 at 9:32 PM, Andrew Toskin > wrote: > >> > echo "$FISH_VERSION" >> 2.3.1 >> >> An example script, which always pr

Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Kurtis Rader
On Sat, Jul 23, 2016 at 9:32 PM, Andrew Toskin 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 ther

Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Andrew Toskin
> 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!" On Sat, Jul 23, 2016 at 9:13 PM, Kurtis Rader wrote: > On Sat, Jul 23, 2016 at 8:19 PM, Andrew Toskin > wrote: > >> I'm

Re: [Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Kurtis Rader
On Sat, Jul 23, 2016 at 8:19 PM, Andrew Toskin wrote: > 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" l

[Fish-users] How to avoid printing $fish_greeting before the "read" command prompt

2016-07-23 Thread Andrew Toskin
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 litt