DeD
DeD

Reputation: 23

How to reset fish-shell key bindings

I messed up my fish-shell key bindings and now get this on new shell:

fish: The function call stack limit has been exceeded. Do you have an accidental infinite loop?
    and __original_fish_user_key_bindings
        ^
in function '__original_fish_user_key_bindings'
    called on standard input

in function '__original_fish_user_key_bindings'
    called on standard input

How do I reset my key-bindings and get past this error?

(I was trying to follow instructions here & messed up something)

Upvotes: 2

Views: 1258

Answers (1)

Anand Singh
Anand Singh

Reputation: 141

You have to remove ~/.local/share/omf and ~/.config/fish/conf.d/omf.fish files to silence error message of fish startup

Or Open ~/.local/share/omf/init.fish file and comment these lines

functions -q __original_fish_user_key_bindings

and __original_fish_user_key_bindings

Upvotes: 1

Related Questions