Show Menu
Cheatography

zsh Cheat Sheet (DRAFT) by

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

debian

ad
Update packages
adg
Updgrade packages
ai [packages to install]
Install package(s)
ap
Purge
acs [search term]
Search packages in cache
aac
Autoclean
dia
Install all ./*.deb
di [glob]
Install all glob
kclean
Remove unused kernel images
allpkgs
Print all installed packages

common aliases end of command

H
| head
T
| tail
G
| grep
CA
2>&1 | cat -A
NE
2> /dev/null
NUL
> /dev/null 2>&1

jira

jira
create new issue
jira ABC-123
open issue in browser
jira reported [username]
jira assigned [username]
jira ABC-123 m
opens an existing issue for adding a comment
jira branch
open current branch in gira
 

aws

aws
asp
Choose the current AWS creden­tials profile from those defined in .aws/c­onfig, with auto-c­omp­letion support. Also makes the currently set profile to be shown in the RPROMPT.
agp
Print the currently set AWS creden­tials profile.

common­-al­iases

l
ls -lFh
la
do not ignore entries starting with . ls -lAFh
lr
list subdir­ect­ories recurs­ively ls -tRFh
lt
sort by modifi­cation time, newest first ls -ltFh
ldot
show . ls -ld .*
lS
sort filesize ls -1FSsh
lart
simple all reverse time ls -1Fcart
lrt
simple reverse time ls -1Fcrt
zshrc
$EDITOR ~/.zshrc
h
history
p
processes for current user
 

composer

c
composer
cu
update
ci
install
cr
require
crm
remove
cdo
dump-a­utoload -O
cget
installs composer on the current path
cdu
dump-a­utoload
csu
self-u­pdate
cgo
global update
cgr
global require
cgrm
global remove

git_re­mot­e_b­ranch

grb
grb create branch­_name [origi­n_s­erver]
grb publish branch­_name [origi­n_s­erver]
grb delete branch­_name [origi­n_s­erver]
grb track branch­_name [origi­n_s­erver]
grb rename new_br­anc­h_name [origi­n_s­erver]
grb explain create