-
Notifications
You must be signed in to change notification settings - Fork 2
/
aliases
108 lines (108 loc) · 3.34 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#alias go="richgo"
alias ......="cd ../../../../.."
alias .....="cd ../../../.."
alias ....="cd ../../.."
alias ...="cd ../.."
alias ..="cd .."
alias apt="sudo apt"
alias apti="sudo apt-get install"
alias apts="apt-cache search"
alias atop="sudo atop"
alias cat="bat -p"
alias cdD="cd ~/Downloads"
alias cdb="cd ~/bin"
alias cdd="mkdir -p ~/dev ; cd ~/dev" # i use this as a dev / tmp sandbox dir
alias cdh="cd ~/src/github.com/starkers/dotfiles/"
alias cdn="cd ~/.config/nvim"
alias d="docker"
alias dc="docker-compose"
alias df="df -x squashfs" #flapak master race
alias dnf="sudo dnf"
alias fastboot="sudo fastboot"
alias g="grep -E"
alias ga="git add --all ."
alias gcloud-auth-app-default="gcloud auth application-default login"
alias gco="git checkout"
alias gd="git d" #call git diff with vimdiff
alias gpl="git pull"
alias gps="git push"
alias gs="git status --short ."
alias gss="git status --short"
alias ipy="ipython3"
alias k="kubectl"
alias kaf="kubectl apply --field-manager=kubectl-client-side-apply -f "
alias kccc="kubectl config current-context"
alias kcdc="kubectl config delete-context"
alias kcp="kubectl cp"
alias kcsc="kubectl config set-context"
alias kcuc="kubectl config use-context"
alias kdcm="kubectl describe configmap"
alias kdd="kubectl describe deployment"
alias kdel="kubectl delete"
alias kdelcm="kubectl delete configmap"
alias kdeld="kubectl delete deployment"
alias kdelf="kubectl delete -f"
alias kdeli="kubectl delete ingress"
alias kdelno="kubectl delete node"
alias kdelns="kubectl delete namespace"
alias kdelp="kubectl delete pods"
alias kdels="kubectl delete svc"
alias kdelsec="kubectl delete secret"
alias kdi="kubectl describe ingress"
alias kdno="kubectl describe node"
alias kdns="kubectl describe namespace"
alias kdp="kubectl describe pods"
alias kds="kubectl describe svc"
alias kdsec="kubectl describe secret"
alias kecm="kubectl edit configmap"
alias ked="kubectl edit deployment"
alias kei="kubectl edit ingress"
alias keno="kubectl edit node"
alias kens="kubectl edit namespace"
alias kep="kubectl edit pods"
alias kes="kubectl edit svc"
alias keti="kubectl exec -ti"
alias kga="kubectl get all"
alias kgaa="kubectl get all --all-namespaces"
alias kgcm="kubectl get configmaps"
alias kgd="kubectl get deployment"
alias kgev="kubectl get events --sort-by='.lastTimestamp'"
alias kgi="kubectl get ingress"
alias kgno="kubectl get nodes"
alias kgns="kubectl get namespaces"
alias kgp="kubectl get pods"
alias kgrs="kubectl get rs"
alias kgs="kubectl get svc"
alias kgsec="kubectl get secret"
alias kl="kubectl logs"
alias klf="kubectl logs -f"
alias kpf="kubectl port-forward"
alias krh="kubectl rollout history"
alias krsd="kubectl rollout status deployment"
alias kru="kubectl rollout undo"
alias ksd="kubectl scale deployment"
alias ktp="kubectl top pods --use-protocol-buffers"
alias lash="ls -lash"
alias lg="lazygit"
# alias ll="ls -l"
# alias lla="ls -la"
# alias ls="ls --color"
# alias ltr="ls -ltr"
alias lxc="sudo lxc"
alias lxd="sudo lxd"
alias mc="mc -S ~/.local/share/mc/skins/candy256.ini"
alias mkdir="mkdir -p"
alias mplayer="mpv"
alias mtr="mtr --curses"
alias nload="sudo nload wlan0 -u K"
alias open=xdg-open
alias openvpn="sudo openvpn"
alias pacman="sudo pacman"
alias snap="sudo snap"
alias ssh="ssh -A"
alias tree="tree -C -I '*.pyc'"
alias v="vim"
alias vi="vim"
alias vim="nvim"
alias vimdiff="nvim -d"
alias wget="wget --show-progress"