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

ShellConfiguration FilesFish

Shell Problem Overview


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

Shell Solutions


Solution 1 - Shell

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPaul WenzelView Question on Stackoverflow
Solution 1 - ShellterjeView Answer on Stackoverflow