Skip to content

Incorrect character icon in fish 4.3.1 #620

@shahms

Description

@shahms

Describe the bug

After upgrading to fish 4.3.1, the wrong icon is chosen for the character item with the default keybindings.

Steps to reproduce

  1. Update to fish 4.3.1
  2. Use the default key bindings and default character icon
  3. See that the prompt character is the vi mode default icon

Screenshots

❮ fish --version
fish, version 4.3.1
❮ echo "$fish_bind_mode"
default
❮ echo "$fish_key_bindings"
fish_default_key_bindings
❮ echo $tide_character_icon
❯
❮ echo $tide_character_vi_icon_default
❮

Environment

Output of tide bug-report:

fish version: 4.3.1
tide version: 6.2.0
term: tmux-256color
os: MacOS Tahoe 26.1
terminal emulator: iTerm2
fish startup: 26.82 millis
fisher plugins: ilancosman/tide@v6 jorgebucaran/fisher

Additional context

It appears as though $fish_key_bindings is unset while executing _tide_item_character for some reason. It is set in an otherwise empty fish_prompt function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions