Here's my fish config if you want to see an example: https://bitbucket.org/sjl/dotfiles/src/tip/fish/config.fish
112 function hey_virtualbox_shut_down_or_i_will_fucking_cut_you 113 VBoxManage controlvm $argv poweroff 114 end
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sbin/sh...
function fish_user_keybindings jesus_fucking_christ_bind_the_fucking_keys_fish end
As you'll see, I like the way Fish automatically loads functions from, "$HOME/.config/fish/functions/". It keeps my config.fish file pretty lean.