summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-03-16 17:37:22 +0100
committerTobias Klauser <tklauser@distanz.ch>2022-03-16 17:37:22 +0100
commitaeef88301d7a173c0fb6629536c4aaf1652adfa9 (patch)
treee61cf7a95ffe52ded04d686e7b55e51ac06b9347 /.zsh/zshrc
parent5194dcc73223fa22a1ab72115fe9835af7fa5aab (diff)
zshrc: add `watch kubectl` aliases
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/30_aliases2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases
index 5410d2c..6343989 100644
--- a/.zsh/zshrc/30_aliases
+++ b/.zsh/zshrc/30_aliases
@@ -53,6 +53,8 @@ alias k='kubectl'
alias kw='kubectl -o wide'
alias ks='kubectl -n kube-system'
alias ksw='kubectl -n kube-system -o wide'
+alias wk='watch kubectl'
+alias wks='watch kubectl -n kube-system'
# get top 10 shell commands
alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10'