-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaliases
57 lines (52 loc) · 1.55 KB
/
aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# NeoVim FTW
alias vim='nvim'
# General
alias grep='grep --color'
alias rm='rm -i'
alias ..="cd .."
alias sd='shred -vuz'
alias l='ls -lFha'
alias c='xclip -selection clipboard'
# kubectl aliases
alias k='kubectl'
alias ka='kubectl apply -f'
alias kd='kubectl describe'
alias ke='kubectl exec -ti'
alias kg='kubectl get'
alias kga='kubectl get ing,svc,deploy,rc,pods,cm,pv,pvc,crd,jobs'
alias kwa='watch kubectl get ing,svc,deploy,rc,pods,cm,pv,pvc'
alias kgcm='kubectl get configmap'
alias kgd='kubectl get deployment'
alias kgds='kubectl get daemonset'
alias kgp='kubectl get pods'
alias kgj='kubectl get jobs'
alias kgi='kubectl get ingress'
alias kgn='kubectl get nodes'
alias kgns='kubectl get namespaces'
alias kgs='kubectl get secrets'
alias kgsvc='kubectl get service'
alias kgsa='kubectl get serviceaccounts'
alias kgpv='kubectl get pv'
alias kgpvc='kubectl get pvc'
alias kgss='kubectl get statefulset'
alias kgcrd='kubectl get crd'
alias kl='kubectl logs'
alias krm='kubectl delete'
alias kutil='kubectl run -i --tty debian-util --image=debian:stretch --restart=Never -- sh'
# oc (OpenShift CLI) aliases
alias oca='oc get'
# Docker aliases
alias d='docker'
alias de='docker exec -ti'
alias dps='docker ps'
# Vagrant aliases
alias vu='vagrant up'
alias vf='vagrant up --provider=vmware_fusion'
alias vv='vagrant up --provider=virtualbox'
alias vpp='vagrant up --provider=parallels'
alias vkvm='vagrant up --provider=libvirt'
alias vs='vagrant status'
alias vd='vagrant destroy --force'
alias vgs='vagrant global-status'
alias vssh='vagrant ssh'
alias vp='vagrant provision'