Skip to content

Commit 0eea7a6

Browse files
authored
Merge pull request laradock#506 from Jono20201/patch/artisan-alias
Add `art` alias for `php artisan` - like homestead
2 parents b10108a + f2db21f commit 0eea7a6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

workspace/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,15 @@ USER laradock
267267

268268
RUN echo "" >> ~/.bashrc && \
269269
echo 'export PATH="/var/www/vendor/bin:$PATH"' >> ~/.bashrc
270+
271+
#####################################
272+
# Laravel Artisan Alias
273+
#####################################
274+
USER root
270275

276+
RUN echo "" >> ~/.bashrc && \
277+
echo 'alias art="php artisan"' >> ~/.bashrc
278+
271279
#
272280
#--------------------------------------------------------------------------
273281
# Final Touch

0 commit comments

Comments
 (0)