chore(zsh): aliases
This commit is contained in:
parent
7a8f5f9073
commit
ee24a7ce17
6
zshrc
6
zshrc
|
@ -72,6 +72,7 @@ alias cdg=cdgit
|
|||
alias cdgit='cd $(git rev-parse --show-toplevel)'
|
||||
alias clp="tmux kill-pane"
|
||||
alias clw="tmux kill-window"
|
||||
alias ct="cargo test"
|
||||
alias d="docker"
|
||||
alias dc="docker-compose -f docker-compose.yml"
|
||||
alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml"
|
||||
|
@ -102,6 +103,7 @@ alias kgp="kubectl get pod -o wide"
|
|||
alias kgrpcurl="kubectl run grpcurl --image networld/grpcurl --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kgs="kubectl get svc -o wide"
|
||||
alias kmplayer="kubectl run mplayer --image olmesm/mplayer-docker:latest --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kt="kubetail"
|
||||
alias kw="kubectl get events -w"
|
||||
alias ll="eza -l --group-directories-first --git"
|
||||
alias ls="eza --color=auto"
|
||||
|
@ -129,8 +131,8 @@ alias tp="telepresence"
|
|||
alias tpl="telepresence list"
|
||||
alias vim="nvim"
|
||||
alias wg="sudo wg"
|
||||
alias wgdown="sudo wgdown"
|
||||
alias wgup="sudo wgup"
|
||||
alias wgdown="sudo $HOME/script/wgdown"
|
||||
alias wgup="sudo $HOME/script/wgup"
|
||||
alias zzz="sudo systemctl hibernate"
|
||||
ksecd() { kubectl get secret "$1" -o go-template='{{range $k,$v := .data}}{{printf "%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{"\n"}}{{end}}' }
|
||||
rgw() { SEARCH_TERM=$1; shift; rg -g '!vendor/' "\b$SEARCH_TERM\b" $* }
|
||||
|
|
Loading…
Reference in New Issue