Fish shell automatic directory specific functions -


is possible have fish automatically load additional configurations based on directory in? possible example, doesn't work. navigate project folder:

cd ~/my_proj 

there file in folder called .fish.config contains special fish function accessible (since in my_proj).

is there built-in mechanism in fish allows loading fish config file when navigating directory (similar above)?

take @ --on-variable flag function statement. can define function runs whenever pwd changes:

function react_to_pwd --on-variable pwd    echo reacting pwd changing $pwd end 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -