a79b37b95461ea2be32578957473375954ab31ff
- Author
- Marc Cornellà <marc@mcornella.com>
- Committer
- Marc Cornellà <marc@mcornella.com>
- Date
Message
Revert "fix(kubectl)!: change alias from `kl` to `klog` (#13204)"
This reverts commit 475b18f39a2406d1ba173e36f243935be413239d.
Diff
1diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md
2index f4b0d6663a5775bdb9d7bf9ef5cabc3fd720cf7c..5e4ae7e60b4a17c3135991aff58a3fdf54e69825 100644
3--- a/plugins/kubectl/README.md
4+++ b/plugins/kubectl/README.md
5@@ -90,7 +90,7 @@ plugins=(... kubectl)
6 | kga | `kubectl get all` | List all resources in ps format |
7 | kgaa | `kubectl get all --all-namespaces` | List the requested object(s) across all namespaces |
8 | | | **Logs** |
9-| klog | `kubectl logs` | Print the logs for a container or resource |
10+| kl | `kubectl logs` | Print the logs for a container or resource |
11 | klf | `kubectl logs -f` | Stream the logs for a container or resource (follow) |
12 | | | **File copy** |
13 | kcp | `kubectl cp` | Copy files and directories to and from containers |
14diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh
15index 1e608045454a2af5b54d2859ef2d7afd875fd0a4..ba371cd87965699a94548b6e14dee56567be3f56 100644
16--- a/plugins/kubectl/kubectl.plugin.zsh
17+++ b/plugins/kubectl/kubectl.plugin.zsh
18@@ -135,7 +135,7 @@ alias kga='kubectl get all'
19 alias kgaa='kubectl get all --all-namespaces'
20
21 # Logs
22-alias klog='kubectl logs'
23+alias kl='kubectl logs'
24 alias kl1h='kubectl logs --since 1h'
25 alias kl1m='kubectl logs --since 1m'
26 alias kl1s='kubectl logs --since 1s'