On Sat, Sep 2, 2017 at 1:56 PM, Mark Volkmann
wrote:
> If I enter:
>
> alias greet 'echo Hello, $USER'
>
> and then enter:
>
> functions greet
>
> it outputs:
>
> # Defined in - @ line 0
> function greet --description 'alias greet echo Hello, $USER'
> echo Hello, $USER $argv;
> end
>
> Why does
If I enter:
alias greet 'echo Hello, $USER'
and then enter:
functions greet
it outputs:
# Defined in - @ line 0
function greet --description 'alias greet echo Hello, $USER'
echo Hello, $USER $argv;
end
Why does the generated function output $argv?
--
R. Mark Volkmann
Object Computing, Inc
The reason is that very low sizes are two things:
* Don't work with fish.
* Often a terminal error.
Terminals that fail to report their size are not unusual. An easy way to
head off both problems is to use a default size (to mis-represent) when
it's likely that the terminal is lying to fish. Note
On Sat, Sep 2, 2017, at 10:20, Kurtis Rader wrote:
> Fish won't work if COLUMNS is one or two either. As I said earlier I
> don't recall now what the exact threshold is but I'm pretty sure it was
> greater than ten. Similarly, it won't work if LINES is less than two. So
> the actual threshold is no
On Sat, Sep 2, 2017 at 6:05 AM, Greg Reagle wrote:
> On Fri, Sep 1, 2017, at 15:05, Kurtis Rader wrote:
> > Fish won't work if the terminal height is less than two. I don't recall
> the exact value but
> > it also won't behave sensibly if the width is much less than 20.
>
> Does fish behave bette
On Fri, Sep 1, 2017, at 15:05, Kurtis Rader wrote:
> Fish won't work if the terminal height is less than two. I don't recall the
> exact value but
> it also won't behave sensibly if the width is much less than 20.
Does fish behave better when the width is less than 20 to pretend that
the width is