krobelus · GitHub

The old keybinding would chop off the last line of the `whatis` output
when using a multi-line prompt. This fix corrects that.

krobelus

krobelus

krobelus

@gpanders

gpanders added a commit to gpanders/dotfiles that referenced this pull request

Sep 18, 2019

krobelus

@gpanders

Closed

@faho faho added the bug

Something that's not working as intended

label

Oct 6, 2019

@faho

Merged

faho pushed a commit that referenced this pull request

Oct 8, 2019
Corrects #6110
BSD `seq` produces a down-counting sequence when the second argument is
smaller than the first, e.g.:
    $ seq 2 1
    2
    1
    $
While GNU `seq` produces no output at all:
    $ seq 2 1
    $
To accommodate for this behavior, only run `seq` when we are sure that
the second argument is greater than or equal to the first (in this case,
the second argument `line_count` should be greater than 1).

gpanders added a commit to gpanders/dotfiles that referenced this pull request

Oct 11, 2019

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators

Apr 16, 2020

Read the original on github.com ↗