>>> 5. What you're seeing is the "internalized scripts" behavior, where at >>> build time, fish compiles all the default functions into itself (as C >>> strings). This reduces the number of files touched at launch. I did >>> this under the belief that these functions generally depended on each >>> other, and ought not to be modified. However, since this is causing >>> problems, we should restrict the functions internalized in this way, >>> or eliminate the optimization altogether. I filed >>> https://github.com/ridiculousfish/fishfish/issues/15 >>> >>> Can you share which functions from /usr/local/share/fish/ you override? >> fish_prompt is what I see from the beginning. >> As an example I've tried to override 'll'. >> >>> (The fish_prompt case is particularly bad - I didn't realize the >>> effect that would have. I put my prompt in config.fish) >> I would prefer to have a possibility to override any function, even >> internalized. >> Sometimes it's very useful, especially for debugging. >> >> And from the usage point of view, it is more clean when there are no >> implicit limitations. > > Ok, thanks for sharing your thoughts. I'll investigate how much this > optimization is actually buying us and then we'll consider what to do > about it. > _fish
I see that completions are also internalized. I often modify default completions, so I keep default completions and functions in separate folders in ~/.config/fish . And keybindings are now also can not be configured. Because you can not override fish_default_key_bindings. Can not set it in config.fish, because fish resets bindings after reading it. Maybe it worth making separate fish_user_keybindings function, that is loaded after fish_default_key_bindings, so you get your own bindings along with defaults. Maxim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users