From ee24a7ce17ee93718263588f6c9d65462d1af922 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sun, 10 Nov 2024 14:47:20 +0100 Subject: [PATCH] chore(zsh): aliases --- zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index be23c71..b368bbf 100644 --- a/zshrc +++ b/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" $* }