Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unknown command: __fish_cancel_commandline #7145

Copy link
Copy link

Description

@herrbischoff
Issue body actions

Environment

# fish --version
fish, version 3.1.2

# echo $version
3.1.2

# uname -a
FreeBSD [REDACTED] 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC  amd64

# echo $TERM
xterm-256color

Issue

Unfortunately, this is one of those "it happens sometimes and cannot be directly reproduced" issues. I'm also using tmux a lot, so maybe there are contributing factors.

Sometimes, fish gets into a state that when I autocomplete a path or filename, manually move the cursor/insertion point back a couple of characters and then press Ctrl-C, fish hangs and immediately writes the error message in the title. Example (^ is the cursor):

# cd .config/fish/fun^ctions

After Ctrl-C:

# cd .config/fish/funUnknown command: __fish_cancel_commandline

When this happens, I need to close the session and open a new one, after which it works as expected again. I do not use any plugins (with the possible exception of the Pure prompt), only my own, rather simple functions. My fish config is publicly available here: https://github.com/herrbischoff/dotpr0n/tree/master/.config/fish

Please let me know what further information you need.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.