mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
5 Commits
afe77d89c5
...
67ff9c8604
Author | SHA1 | Date |
---|---|---|
|
67ff9c8604 | |
|
1c2127727a | |
|
91e0a94e89 | |
|
15944c0788 | |
|
c32b5e5e98 |
|
@ -11,7 +11,7 @@ if [[ ! -f "$ZSH_CACHE_DIR/completions/_jj" ]]; then
|
|||
_comps[jj]=_jj
|
||||
fi
|
||||
|
||||
jj util completion zsh >| "$ZSH_CACHE_DIR/completions/_jj" &|
|
||||
COMPLETE=zsh jj >| "$ZSH_CACHE_DIR/completions/_jj" &|
|
||||
|
||||
function __jj_prompt_jj() {
|
||||
local -a flags
|
||||
|
|
|
@ -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` |
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue