Automatically load your project aliases from .alias
file when you cd
into project root directory.
Just add the plugin to your .zshrc
:
plugins=(git man dotalias)
Create a .alias
file inside your project directory and put your aliases there.
For example:
alias gradlewd='docker run --rm -v dot_gradle:/root/.gradle -v ${PWD}:/project --workdir=/project openjdk:8-jdk ./gradlew ${@}'