Fish shell automatic directory specific functions

Viewed 924

Is it possible to have fish automatically load additional configurations based on the directory you are in? A possible example, but obviously this doesn't work. You navigate to a project folder:

cd ~/my_proj

There is a file in that folder called .fish.config that contains a special fish function that is now accessible (since we are in my_proj).

Is there any built-in mechanism in fish that allows the loading from some fish config file when navigating to a directory (similar to above)?

2 Answers
Related