It seems that an event "fish_prompt" is being emitted and it calls the
function "__fish_on_interactive", which calls function
"__fish_config_interactive", etc (as listed from bottom to top). It
does not make sense to me why a fish_prompt event would call that
function.

I would try to figure out where function "my_keybindings" is being
called and comment out the call, to see if it stops the error
messages.

Another strategy to try is to copy parts of ~/.config/fish/ until you
find the offending file.

Sorry, I don't have too much time to help right now.

Philip

On Mon, Nov 29, 2010 at 7:15 PM, Mike Miller <[email protected]> wrote:
> Hi all, was hoping you could help.
>
> I've copied my fish config to a second machine, changing the name of the
> fishd file.  Now when I log in there I get this series of errors, and
> everything is broken:
>
> Last login: Mon Nov 29 16:02:00 2010 from 10.0.2.2
> fish: Unknown command “my_keybindings”
> Standard input: begin; my_keybindings ;end
>                        ^
> in . (source) call of file “-”,
>        called on standard input,
>
> in function “__fish_reload_key_bindings”,
>        called on line 213 of file
> “/usr/share/fish/functions/__fish_config_interactive.fish”,
>
> in function “__fish_config_interactive”,
>        called on line 104 of file “/usr/share/fish/config.fish”,
>
> in function “__fish_on_interactive”,
>        called on standard input,
>
> in event handler: handler for generic event “fish_prompt”
>
> The file does exist and works fine on my original computer:
[...]
> Anyone know how to fix it?
> Thanks,
[...]

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to