DEV Community

Discussion on: how to resume multiple commands on one command

Collapse
 
zaffja profile image
Zafri Zulkipli

Something like this in your .bash_aliases will do if I understand your question correctly.

alias update-project="git pull && php artisan migrate && npm update && npm run prod"
Enter fullscreen mode Exit fullscreen mode
Collapse
 
mostafalaravel profile image
mostafalaravel

Thanks Zafri