How to use input variable in .zshrc alias?
0
votes
2
answers
2739
views
I'm trying to create this alias:
alias mrc="php artisan make:controller $(user_input) --resource"
so that I can just type mrc ControllerName
in the terminal to produce:
php artisan make:controller ControllerName --resource
Is there a way to do that?
Asked by Artur Müller Romanov
(261 rep)
May 13, 2022, 06:49 AM
Last activity: Jan 28, 2025, 05:57 PM
Last activity: Jan 28, 2025, 05:57 PM