Skip to content

Instantly share code, notes, and snippets.

@Yannick243
Last active October 13, 2023 17:20
Show Gist options
  • Save Yannick243/dad3820a44b365f9a4ef9b40ce045bb4 to your computer and use it in GitHub Desktop.
Save Yannick243/dad3820a44b365f9a4ef9b40ce045bb4 to your computer and use it in GitHub Desktop.
Cmder laravel aliases
;= @echo off
;= rem Call DOSKEY and use this file as the macrofile
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0%
;= rem In batch mode, jump to the end of the file
;= goto:eof
;= Add aliases below here
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
cr=composer
cri=composer install
crd=composer dump-autoload $*
cru=composer update"
pa=php artisan $*
pamm=php artisan make:model $*
pamc=php artisan make:controller $*
pakg=php artisan key:generate $*
pamt=php artisan make:test $*
pamf=php artisan migrate:fresh $*
pami=php artisan migrate $*
pads=php artisan db:seed $*
pas=php artisan serve $*
tinker=php artisan tinker
ndev=npm run dev
nprod=npm run prod
nhot=npm run hot
g=git
gp=git push -u origin $*
gc=git clone $*
gst=git status
gch=git checkout $*
gb=git branch $*
gbc=git checkout -b $*
gad=git add .
gcm=git commit -m $*
@justemalachie
Copy link

Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment