Show Menu
Cheatography

ZSH Aliases Keyboard Shortcuts (DRAFT) by [deleted]

ZSH Aliases for GIT, Laravel and others

This is a draft cheat sheet. It is a work in progress and is not finished yet.

GIT

g
git
gst
git status
gd
git diff
gl
git pull
gco
git checkout
gcm
git checkout master
gcb
git checkout -b
ga
git add
gaa
git add --all
gc
git commit -v
gc!
git commit -v --amend
gcam
git commit -a -m
gp
git push
grbm
git rebase master
grba
git rebase --abort
grbc
git rebase --continue
grm
git rm
grs
git restore
gru
git reset --
 

Laravel

art
php artisan
vapor
php vendor­/bi­n/vapor
ins
insights
tink
php artisan tinker
ins
php -d memory­_li­mit­=2000M ./vend­or/­bin­/ph­pin­sights --conf­ig-­pat­h=c­onf­ig/­ins­igh­ts.php -v
stan
./vend­or/­bin­/ph­pstan analyse --memo­ry-­lim­it=2G

Composer

ci
composer install
cu
composer update
cr
composer require

NPM

ni
npm install
n
npm run
nd
npm run dev
nw
npm run watch
nin
npm install --save
nid
npm install --save-dev
 

Clokify

phkget
cd ~/Proj­ect­s/r­edi­com­/cl­ock­ify-api && php artisan clock:­fetch
phkupdate
cd ~/Proj­ect­s/r­edi­com­/cl­ock­ify-api && php artisan clock:­update
phkreport
cd ~/Proj­ect­s/r­edi­com­/cl­ock­ify-api && php artisan clock:­report

SSH

d1
ssh redido­cke­r1.r­ed­icom.fi
d2
ssh redido­cke­r2.r­ed­icom.fi
p2
ssh redipl­ane­t2.r­ed­icom.fi
p3
ssh redipl­ane­t3.r­ed­icom.fi
p4
ssh redipl­ane­t4.r­ed­icom.fi

Projects

spw
cd ~/Proj­ect­s/s­afe­typ­ass/web
spm
cd ~/Proj­ect­s/s­afe­typ­ass­/mobile
ep
cd ~/Proj­ect­s/e­par­cel/web
epw
cd ~/Proj­ect­s/e­par­cel­/worker
ep2
cd ~/Proj­ect­s/e­par­cel­/ep­arcel