From 8d17624a56ccc2709113e283798f3c6dcd0209e5 Mon Sep 17 00:00:00 2001 From: sneakythrows Date: Fri, 1 Jul 2022 15:09:07 +0300 Subject: [PATCH] Update kubectl.plugin.zsh If I use klf I read ALL logs of container by default. It could be a lot. I suggest show 10 rows from tail by default --- plugins/kubectl/kubectl.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh index 095d2b328..0bed9bbaf 100644 --- a/plugins/kubectl/kubectl.plugin.zsh +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -132,7 +132,7 @@ alias kl='kubectl logs' alias kl1h='kubectl logs --since 1h' alias kl1m='kubectl logs --since 1m' alias kl1s='kubectl logs --since 1s' -alias klf='kubectl logs -f' +alias klf='kubectl logs -f --tail=10' alias klf1h='kubectl logs --since 1h -f' alias klf1m='kubectl logs --since 1m -f' alias klf1s='kubectl logs --since 1s -f'