Sort aliases
This commit is contained in:
parent
f9cda80c83
commit
7fc8896b35
22
zshrc
22
zshrc
|
@ -68,8 +68,8 @@ alias clw="tmux kill-window"
|
|||
alias d="docker"
|
||||
alias dc="docker-compose -f docker-compose.yml"
|
||||
alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml"
|
||||
alias dockup="sudo systemctl start docker"
|
||||
alias dockdown="sudo systemctl stop docker"
|
||||
alias dockup="sudo systemctl start docker"
|
||||
alias gb="go build"
|
||||
alias gba="go build ./..."
|
||||
alias gbat="go build ./... && go test ./..."
|
||||
|
@ -83,19 +83,18 @@ alias gt="go test"
|
|||
alias gta="go test ./..."
|
||||
alias h="helm"
|
||||
alias ji="jira -b"
|
||||
alias k9="kill -9"
|
||||
alias k="kubectl"
|
||||
alias kcc="kubectl config current-context"
|
||||
alias kcurl="kubectl run curl --image curlimages/curl --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kd="kubectl describe"
|
||||
alias kdel="kubectl delete"
|
||||
alias kg="kubectl get"
|
||||
alias kgrpcurl="kubectl run grpcurl --image networld/grpcurl --image-pull-policy=Always -it --rm -- sh"
|
||||
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"
|
||||
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}}' }
|
||||
alias kmplayer="kubectl run mplayer --image olmesm/mplayer-docker:latest --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kw="kubectl get events -w"
|
||||
alias k9="kill -9"
|
||||
alias ll="exa -l --group-directories-first --git"
|
||||
alias ls="exa --color=auto"
|
||||
alias mc="make check"
|
||||
|
@ -103,25 +102,26 @@ alias ng="noglob"
|
|||
alias pg="pgrep -fa"
|
||||
alias pk="pkill -fc"
|
||||
alias rez="source $HOME/.zshenv && source $ZDOTDIR/.zshrc"
|
||||
alias rgo="rg -g '*.go' -g '!vendor/'"
|
||||
alias rgs="rg -g '*.go' -g '*.rb' -g '!vendor/' -g '!*_test.go' -g '!*_spec.rb'"
|
||||
alias rgt="rg -g '*_test.go' -g '*_spec.rb' -g '!vendor/'"
|
||||
alias sc="systemctl"
|
||||
alias sk="setkeys"
|
||||
alias ssc="sudo systemctl"
|
||||
alias sysc="systemctl"
|
||||
alias rgo="rg -g '*.go' -g '!vendor/'"
|
||||
alias rgs="rg -g '*.go' -g '*.rb' -g '!vendor/' -g '!*_test.go' -g '!*_spec.rb'"
|
||||
alias rgt="rg -g '*_test.go' -g '*_spec.rb' -g '!vendor/'"
|
||||
rgw() { SEARCH_TERM=$1; shift; rg -g '!vendor/' "\b$SEARCH_TERM\b" $* }
|
||||
alias to="tea open"
|
||||
alias tm="tmux attach"
|
||||
alias tmd="tmux new -s default -c $HOME || tmux attach -t default"
|
||||
alias tms="tmuxsess"
|
||||
alias to="tea open"
|
||||
alias tp="telepresence"
|
||||
alias tpl="telepresence list"
|
||||
alias vim="nvim"
|
||||
alias wg="sudo wg"
|
||||
alias wgdown="sudo wgdown"
|
||||
alias wgup="sudo wgup"
|
||||
alias zzz="sudo systemctl hibernate"
|
||||
alias tp="telepresence"
|
||||
alias tpl="telepresence list"
|
||||
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" $* }
|
||||
|
||||
# On boot, power on bluetooth and start xfce
|
||||
if [ $(tty) = "/dev/tty1" ]; then
|
||||
|
|
Loading…
Reference in New Issue