On Tue, Nov 30, 2010 at 8:15 AM, 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:
>  > cat .config/fish/functions/my_keybindings.fish
> function my_keybindings
>     fish_default_key_bindings
>
>     # Ctrl-left and right keys to skip words
>     bind \e\[1\;5D backward-word
>     bind \e\[1\;5C forward-word
>
>     # Ctrl+delete - del forward word
>     bind \e\[3\;5~ kill-word
>
>     # Ctrl+backspace - del backward word
>     # bind "\e[3;5~": backward-kill-word
> end
>
> Anyone know how to fix it?

Sorry for the delay...

I've never copy fishd.* into an other machine and change the name.
Instead, I put every thing that expected to be cross-machine in config.fish.

When I switch to a new machine I just copy the whole ~/.config/fish into
the new one, except the fishd.* . And it seems good ;)

-- 
Cheers,
Grissiom

------------------------------------------------------------------------------
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