Skip to content

Commit

Permalink
Allow for php aliases call, ie 'php72 artisan'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariusz Soltys committed Oct 14, 2022
1 parent 8354b32 commit 7484471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artisan.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function artisan() {
local artisan_cmd

if [ "$docker_compose_config_path" = '' ]; then
artisan_cmd="php $artisan_path"
artisan_cmd="$artisan_path $*"
else
if [ "`grep "laravel/sail" $docker_compose_config_path | head -n1`" != '' ]; then
artisan_cmd="$laravel_path/vendor/bin/sail artisan"
Expand Down

0 comments on commit 7484471

Please sign in to comment.