mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 14:49:51 +00:00
fix(kubectl)!: change alias from kl to klog (#13204)
BREAKING CHANGE: `kl` alias has been renamed to `klog`, because of conflict with https://github.com/robinovitch61/kl. Co-authored-by: Marc Cornellà <marc@mcornella.com>
This commit is contained in:
@@ -88,7 +88,7 @@ plugins=(... kubectl)
|
||||
| kga | `kubectl get all` | List all resources in ps format |
|
||||
| kgaa | `kubectl get all --all-namespaces` | List the requested object(s) across all namespaces |
|
||||
| | | **Logs** |
|
||||
| kl | `kubectl logs` | Print the logs for a container or resource |
|
||||
| klog | `kubectl logs` | Print the logs for a container or resource |
|
||||
| klf | `kubectl logs -f` | Stream the logs for a container or resource (follow) |
|
||||
| | | **File copy** |
|
||||
| kcp | `kubectl cp` | Copy files and directories to and from containers |
|
||||
|
||||
@@ -131,7 +131,7 @@ alias kga='kubectl get all'
|
||||
alias kgaa='kubectl get all --all-namespaces'
|
||||
|
||||
# Logs
|
||||
alias kl='kubectl logs'
|
||||
alias klog='kubectl logs'
|
||||
alias kl1h='kubectl logs --since 1h'
|
||||
alias kl1m='kubectl logs --since 1m'
|
||||
alias kl1s='kubectl logs --since 1s'
|
||||
|
||||
Reference in New Issue
Block a user