Never type source ~/.config/fish/config.fish
again.
auto-source
will automatically source ~/.config/fish/config.fish
if it's been modified since the last command.
fisher add bmalehorn/fish-auto-source
Copy/paste the contents of fish_auto_source.fish into your config.fish
.
This function was originally written by @c02y in this post. I just packaged it and handled a few edge cases.