Compare commits

...

5 Commits

Author SHA1 Message Date
Dima Golomozy dfad3d1378
Merge 91e0a94e89 into 7a3695aadf 2025-01-13 09:19:30 +01:00
Michele Bologna 7a3695aadf
fix(grc): add linuxbrew path (#12903) 2025-01-12 14:25:00 +01:00
Dima Golomozy 91e0a94e89
typo 2024-11-19 20:03:32 +02:00
Dima Golomozy 15944c0788
Update README.md 2024-09-23 11:43:10 +03:00
Dima Golomozy c32b5e5e98
add general aliases 2024-09-23 11:32:32 +03:00
3 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@ files=(
/etc/grc.zsh # default
/usr/local/etc/grc.zsh # homebrew darwin-x64
/opt/homebrew/etc/grc.zsh # homebrew darwin-arm64
/home/linuxbrew/.linuxbrew/etc/grc.zsh # linuxbrew
/usr/share/grc/grc.zsh # Gentoo Linux (app-misc/grc)
)

View File

@ -26,6 +26,9 @@ plugins=(... kubectl)
| | | **General aliases** |
| kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector |
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
| kg | `kubectl get` | Display one or many resources |
| ke | `kubectl edit` | Edit a resource on the server |
| kd | `kubectl describe` | Show details of a specific resource or group of resources |
| | | **Pod management** |
| kgp | `kubectl get pods` | List all pods in ps output format |
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |

View File

@ -36,6 +36,9 @@ alias kcgc='kubectl config get-contexts'
# General aliases
alias kdel='kubectl delete'
alias kdelf='kubectl delete -f'
alias kg='kubectl get'
alias ke='kubectl edit'
alias kd='kubectl describe'
# Pod management.
alias kgp='kubectl get pods'