fish powerline setup broken after fish upgrade to version 4.3
Author: xiyoriCreated Dec 31, 2025Updated Jan 3, 2026
Labelst:bugc:e:shell
The fish_key_bindings variable is no longer set in universal scope by default. Migrated it to a global variable set. This leads to this error:
test: Missing argument at index 3
!= fish_vi_key_bindings
^
~/.config/fish/config.fish (line 26):
if test $fish_key_bindings != fish_vi_key_bindings
^
in function '_powerline_set_default_mode'
called on line 70 of file /usr/share/powerline/bindings/fish/powerline-setup.fish
in function 'powerline-setup'
called on line 8 of file ~/.config/fish/config.fish
from sourcing file ~/.config/fish/config.fish
called during startupSource: powerline/powerline