How do you dynamically reload fish config files as you would in bash?

Paul Wenzel picture Paul Wenzel · Jun 17, 2013 · Viewed 30.5k times · Source

I am looking for the equivalent of source .bashrc for Fish.

Answer

terje picture terje · Jun 18, 2013

Use

source ~/.config/fish/config.fish

Or, if your fish is older than 2.1 (See fish#310)

. ~/.config/fish/config.fish

Then it will be sourced again, so depending on what you have in there it will be reloaded. For example appending to a universal variable would add more entries.