This question already has an answer here:
I want to define some
alias iex="iex -S mix" only for one directory - this alias should work only when I
cd'ed to this directory. Another requirement - this functionality should be placed inside this directory,
hook file or something other, because I want to share this directory as a git repo.
How can I do that?