summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-01-27 11:07:23 +0100
committerTobias Klauser <tklauser@distanz.ch>2022-01-27 11:07:42 +0100
commit5194dcc73223fa22a1ab72115fe9835af7fa5aab (patch)
tree8009f75c94a1b632ac876d7e284298e57b2bb6b1 /.zsh/zshrc
parent1d112c8e209b246d444792428618a70f4852f2fa (diff)
Add kubectl aliases with `-o wide`
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 a099aee..5410d2c 100644
--- a/.zsh/zshrc/30_aliases
+++ b/.zsh/zshrc/30_aliases
@@ -50,7 +50,9 @@ alias qpylab='ipython qtconsole --ConsoleWidget.font_family="Inconsolata" --Cons
# k8s
alias k='kubectl'
+alias kw='kubectl -o wide'
alias ks='kubectl -n kube-system'
+alias ksw='kubectl -n kube-system -o wide'
# get top 10 shell commands
alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10'