artisan in any subdir

2015-02-08 Nerd sergio

So shell git aliases always runs in the repo root directory!

<br /> git config --global --add alias.artisan '!./artisan '<br /> alias art='git artisan'<br />

There, you can run artisan in any subdirectory of your git repository without messing up with PATH.