Hi everybody, i'm using fish as default cli in the last version avaiable for arch linux (2.5.0-1) and powerline in its version 2.5-4 with python 3.6.
When i add to config.fish the following code line to use fish:
set fish_function_path $fish_function_path "/usr/lib/python3.6/site-packages/powerline/bindings/fish"
powerline-setup
as the official documentation page of fish says, but when i start my terminal emulator, fish gives me te following error:
function: Illegal function name '--on-variable'
/usr/lib/python3.6/site-packages/powerline/bindings/fish/powerline-setup.fish (line 35): function --on-variable fish_key_bindings _powerline_set_default_mode
if test x$fish_key_bindings != xfish_vi_key_bindings
^
in function 'powerline-setup'
called on line 22 of file /etc/fish/config.fish
from sourcing file /etc/fish/config.fish
called during startup
function: Illegal function name '--on-variable'
/usr/lib/python3.6/site-packages/powerline/bindings/fish/powerline-setup.fish (line 42): function --on-variable POWERLINE_COMMAND _powerline_update
set -l addargs "--last-exit-code=\$status"
^
in function 'powerline-setup'
called on line 22 of file /etc/fish/config.fish
from sourcing file /etc/fish/config.fish
called during startup
/usr/lib/python3.6/site-packages/powerline/bindings/fish/powerline-setup.fish (line 78): _powerline_set_default_mode
^
in function 'powerline-setup'
called on line 22 of file /etc/fish/config.fish
from sourcing file /etc/fish/config.fish
called during startup
/usr/lib/python3.6/site-packages/powerline/bindings/fish/powerline-setup.fish (line 79): _powerline_update
^
in function 'powerline-setup'
called on line 22 of file /etc/fish/config.fish
from sourcing file /etc/fish/config.fish
called during startup
How can i solve this issue?