8000 Crash for bind with `or` · Issue #9051 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Crash for bind with or #9051

@FWest98

Description

@FWest98

When I try to set the following keybind:

bind " " expand-abbr or self-insert

(with the intention to disable adding a space directly after expanding an abbreviation), fish crashes when there is nothing to expand. So expanding works fine, but the "or" case causes the following crash:

error: /build/fish-lfQFzD/fish-3.5.0/src/reader.cpp:4069: failed assertion: should have been handled by inputter_t::readch
<E> fish: Backtrace:
0   fish(+0xb64cf) [0x7f24e7f714cf]
1   fish(+0xba8e1) [0x7f24e7f758e1]
2   fish(+0xbaf00) [0x7f24e7f75f00]
3   fish(+0x1618e) [0x7f24e7ed118e]
4   __libc_start_main + 243
5   fish(+0x17b4e) [0x7f24e7ed2b4e]

I am running fish 3.5.0 on Ubuntu 20.04 in WSL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0