Remove init.fish, use conf.d snippets to load configuration on shell start
Utility functions to start your ssh agent when using fish shell. You will only need to run ssh-add and type your password once, after the running ssh_agent should do the work for you.
ssh-add
Add
fundle plugin 'danhper/fish-ssh-agent'
to your config.fish, reload your shell and run fundle install.
config.fish
fundle install
fisher install danhper/fish-ssh-agent
Copy functions and conf.d to your $__fish_config_dir directory. That's all.
functions
conf.d
$__fish_config_dir